change_lexicons: no verbosity;
authorwenzelm
Thu, 10 Jul 2008 17:26:27 +0200
changeset 27526 69618a03b6f7
parent 27525 ee2721e9e900
child 27527 02b2c9eab4e2
change_lexicons: no verbosity;
src/Pure/Isar/outer_keyword.ML
--- a/src/Pure/Isar/outer_keyword.ML	Thu Jul 10 17:26:25 2008 +0200
+++ b/src/Pure/Isar/outer_keyword.ML	Thu Jul 10 17:26:27 2008 +0200
@@ -119,12 +119,7 @@
 fun get_lexicons () = CRITICAL (fn () => ! global_lexicons);
 
 fun change_commands f = CRITICAL (fn () => change global_commands f);
-
-fun change_lexicons f = CRITICAL (fn () =>
-  (change global_lexicons f;
-    (case (op inter_string) (pairself Scan.dest_lexicon (get_lexicons ())) of
-      [] => ()
-    | clash => warning ("Overlapping outer syntax commands and keywords: " ^ commas_quote clash))));
+fun change_lexicons f = CRITICAL (fn () => change global_lexicons f);
 
 end;