Commits

Markus Mottl committed 3acef3d

Updated camlp4 example to newest OCaml version

  • Participants
  • Parent commits d4e9657

Comments (0)

Files changed (1)

File camlp4/repeat_syn.ml

-(*pp camlp4o pa_extend.cmo q_MLast.cmo *)
+(*pp camlp4orf *)
 
-open Pcaml;;
+open Camlp4.PreCast.Syntax
 
-EXTEND
-  expr: LEVEL "top"
+EXTEND Gram
+  expr:
     [[ "repeat"; e1 = expr; "until"; e2 = expr; "done" ->
       <:expr< do { $e1$; while not $e2$ do { $e1$; } } >> ]];
 END