Remove label from error raising helper
[tiger.ml.git] / compiler / src / lib / tiger / tiger_parser.mly
index 78d56a0..f4fbff9 100644 (file)
@@ -75,7 +75,7 @@
 
 program:
   | exp EOF { $1 }
-  | error {Tiger_error.exn ~pos:(pos ()) ~msg:"invalid syntax"}
+  | error {Tiger_error.exn "invalid syntax" ~pos:(pos ())}
   ;
 
 exp:
This page took 0.031803 seconds and 4 git commands to generate.