src/Pure/Syntax/syntax.ML
changeset 30364 577edc39b501
parent 30189 3633f560f4c3
child 30573 49899f26fbd1
--- a/src/Pure/Syntax/syntax.ML	Sun Mar 08 17:19:15 2009 +0100
+++ b/src/Pure/Syntax/syntax.ML	Sun Mar 08 17:26:14 2009 +0100
@@ -301,7 +301,7 @@
       lexicon =
         if changed then fold Scan.extend_lexicon (SynExt.delims_of xprods) lexicon else lexicon,
       gram = if changed then Parser.extend_gram gram xprods else gram,
-      consts = Library.merge (op =) (consts1, filter_out NameSpace.is_qualified consts2),
+      consts = Library.merge (op =) (consts1, filter_out Long_Name.is_qualified consts2),
       prmodes = insert (op =) mode (Library.merge (op =) (prmodes1, prmodes2)),
       parse_ast_trtab =
         update_trtab "parse ast translation" (if_inout parse_ast_translation) parse_ast_trtab,
@@ -607,7 +607,7 @@
 
     fun constify (ast as Ast.Constant _) = ast
       | constify (ast as Ast.Variable x) =
-          if member (op =) consts x orelse NameSpace.is_qualified x then Ast.Constant x
+          if member (op =) consts x orelse Long_Name.is_qualified x then Ast.Constant x
           else ast
       | constify (Ast.Appl asts) = Ast.Appl (map constify asts);