X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=compiler%2Fsrc%2Flib%2Ftiger%2Ftiger_parser.mly;h=f4fbff90644ccea4b1d85604ba694b291e2a135a;hb=be22952d3228b62e546756299a0f9a127ae64921;hp=78d56a0c8a9216f297e608ec6fe3371ec2f56242;hpb=7c14a966d15aab098a4239b6ae6a3fc207504e7f;p=tiger.ml.git 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: