src/Pure/Thy/thy_output.ML
changeset 62969 9f394a16c557
parent 62749 eba34ff9671c
child 63120 629a4c5e953e
equal deleted inserted replaced
62968:4e4738698db4 62969:9f394a16c557
   141 (* outer syntax *)
   141 (* outer syntax *)
   142 
   142 
   143 local
   143 local
   144 
   144 
   145 val property =
   145 val property =
   146   Parse.position Parse.xname -- Scan.optional (Parse.$$$ "=" |-- Parse.!!! Parse.xname) "";
   146   Parse.position Parse.name -- Scan.optional (Parse.$$$ "=" |-- Parse.!!! Parse.name) "";
   147 
   147 
   148 val properties =
   148 val properties =
   149   Scan.optional (Parse.$$$ "[" |-- Parse.!!! (Parse.enum "," property --| Parse.$$$ "]")) [];
   149   Scan.optional (Parse.$$$ "[" |-- Parse.!!! (Parse.enum "," property --| Parse.$$$ "]")) [];
   150 
   150 
   151 in
   151 in
   402 
   402 
   403 val tag = (improper -- Parse.$$$ "%" -- improper) |-- Parse.!!! (Parse.tag_name --| blank_end);
   403 val tag = (improper -- Parse.$$$ "%" -- improper) |-- Parse.!!! (Parse.tag_name --| blank_end);
   404 
   404 
   405 val locale =
   405 val locale =
   406   Scan.option ((Parse.$$$ "(" -- improper -- Parse.$$$ "in") |--
   406   Scan.option ((Parse.$$$ "(" -- improper -- Parse.$$$ "in") |--
   407     Parse.!!! (improper |-- Parse.xname --| (improper -- Parse.$$$ ")")));
   407     Parse.!!! (improper |-- Parse.name --| (improper -- Parse.$$$ ")")));
   408 
   408 
   409 in
   409 in
   410 
   410 
   411 fun present_thy thy command_results toks =
   411 fun present_thy thy command_results toks =
   412   let
   412   let