src/Pure/Isar/args.ML
changeset 19482 9f11af8f7ef9
parent 18998 10c251f29847
child 20111 ba1676dd3546
equal deleted inserted replaced
19481:a6205c6203ea 19482:9f11af8f7ef9
   350 fun args blk x = Scan.optional (args1 blk) [] x
   350 fun args blk x = Scan.optional (args1 blk) [] x
   351 and args1 blk x =
   351 and args1 blk x =
   352   ((Scan.repeat1
   352   ((Scan.repeat1
   353     (Scan.repeat1 (atomic blk) ||
   353     (Scan.repeat1 (atomic blk) ||
   354       argsp "(" ")" ||
   354       argsp "(" ")" ||
   355       argsp "[" "]")) >> List.concat) x
   355       argsp "[" "]")) >> flat) x
   356 and argsp l r x =
   356 and argsp l r x =
   357   (Scan.trace (&&& l -- !!! (args true -- &&& r)) >> #2) x;
   357   (Scan.trace (&&& l -- !!! (args true -- &&& r)) >> #2) x;
   358 
   358 
   359 in
   359 in
   360 
   360