menhir --fixed-exception, use the same exception as yacc

master
Gabriel Scherer 2018-08-25 18:59:08 +02:00
parent b4a56926de
commit 982ac40b5a
2 changed files with 14508 additions and 4962 deletions

View File

@ -18,7 +18,7 @@ MENHIR ?= menhir
MENHIRFLAGS := --explain --ocamlc "$(CAMLC) $(COMPFLAGS)" --infer\
--lalr --strict --table --external-tokens Parser\
--unused-token COMMENT --unused-token DOCSTRING --unused-token EOL\
--unused-token GREATERRBRACKET
--unused-token GREATERRBRACKET --fixed-exception
# tokens COMMENT, DOCSTRING and EOL are produced by special lexer
# modes used by other consumers than the parser.

File diff suppressed because it is too large Load Diff