Permalink
Browse files

fix wrong error message

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13425 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information...
Damien Doligez
Damien Doligez committed Mar 22, 2013
1 parent d9dc859 commit ce4d6f7995577d88366a4f0c5e9044f7ef330061
Showing with 1 addition and 0 deletions.
  1. +1 −0 parsing/parser.mly
View
@@ -1696,6 +1696,7 @@ val_ident:
| LPAREN operator RPAREN { $2 }
| LPAREN operator error { unclosed "(" 1 ")" 3 }
| LPAREN error { expecting 2 "operator" }
+ | LPAREN MODULE error { expecting 3 "module-expr" }
;
operator:
PREFIXOP { $1 }

0 comments on commit ce4d6f7

Please sign in to comment.