diff options
| author | Damien Doligez <damien.doligez-inria.fr> | 2013-03-22 18:02:34 +0000 |
|---|---|---|
| committer | Damien Doligez <damien.doligez-inria.fr> | 2013-03-22 18:02:34 +0000 |
| commit | ce4d6f7995577d88366a4f0c5e9044f7ef330061 (patch) | |
| tree | 9ebbcbaee02b44a575bfd69a056f1ffe7190945b /parsing | |
| parent | d9dc85922729cb778c59bb7c6695e5b715b602b9 (diff) | |
| download | ocaml-ce4d6f7995577d88366a4f0c5e9044f7ef330061.tar.gz | |
fix wrong error message
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13425 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'parsing')
| -rw-r--r-- | parsing/parser.mly | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parsing/parser.mly b/parsing/parser.mly index 808eba315b..35145b597b 100644 --- a/parsing/parser.mly +++ b/parsing/parser.mly @@ -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 } |
