src/Pure/General/name_space.ML
changeset 55989 55827fc7c0dd
parent 55977 ec4830499634
child 56022 8c9ab5d91d5a
--- 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;