changed symbolic char syntax to \<NAME>
authorwenzelm
Wed, 27 Nov 1996 16:40:57 +0100
changeset 2254 2888b4c1db7f
parent 2253 95b615550b8b
child 2255 f9126d306a02
changed symbolic char syntax to \<NAME>
src/Pure/Syntax/syn_ext.ML
--- a/src/Pure/Syntax/syn_ext.ML	Wed Nov 27 16:40:23 1996 +0100
+++ b/src/Pure/Syntax/syn_ext.ML	Wed Nov 27 16:40:57 1996 +0100
@@ -186,9 +186,9 @@
       fun scan_delim_char ("'" :: c :: cs) =
             if is_blank c then raise LEXICAL_ERROR else (c, cs)
         | scan_delim_char ["'"] = err "trailing escape character"
-        | scan_delim_char ("\\" :: "{" :: cs) =
+        | scan_delim_char ("\\" :: "<" :: cs) =
             let
-              val (ch_name, cs') = (scan_id -- $$ "}" >> #1) cs
+              val (ch_name, cs') = (scan_id -- $$ ">" >> #1) cs
                 handle LEXICAL_ERROR => err "malformed symbolic char specification";
               val c = the (SymbolFont.char ch_name)
                 handle OPTION _ => err ("unknown symbolic char name: " ^ quote ch_name);