X-Git-Url: https://git.xandkar.net/?p=tiger.ml.git;a=blobdiff_plain;f=compiler%2Fsrc%2Flib%2Ftiger%2Ftiger_parser.mly;h=f4fbff90644ccea4b1d85604ba694b291e2a135a;hp=78d56a0c8a9216f297e608ec6fe3371ec2f56242;hb=2f38b9f1292d971826d540718855f63431029715;hpb=ef79993b1016fbaa73b0993c88a16b23f8cb7408 diff --git a/compiler/src/lib/tiger/tiger_parser.mly b/compiler/src/lib/tiger/tiger_parser.mly index 78d56a0..f4fbff9 100644 --- a/compiler/src/lib/tiger/tiger_parser.mly +++ b/compiler/src/lib/tiger/tiger_parser.mly @@ -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: