ignore special names that are treated differently for various sub-languages (main wild-card is identifier "__");
authorwenzelm
Fri, 07 Mar 2014 22:19:52 +0100
changeset 55989 55827fc7c0dd
parent 55988 ffe88d72afae
child 55990 41c6b99c5fb7
ignore special names that are treated differently for various sub-languages (main wild-card is identifier "__");
src/Pure/General/name_space.ML
--- a/src/Pure/General/name_space.ML	Fri Mar 07 20:50:02 2014 +0100
+++ b/src/Pure/General/name_space.ML	Fri Mar 07 22:19:52 2014 +0100
@@ -205,7 +205,7 @@
 (* completion *)
 
 fun completion context space (xname, pos) =
-  if Position.is_reported pos then
+  if Position.is_reported pos andalso xname <> "" andalso xname <> "_" then
     let
       val x = Name.clean xname;
       val Name_Space {kind, internals, ...} = space;