The new code generator breaks include statements.
# Parser.
"src/parser.mli", "src/parser.ml" : "src/parser.mly" {
- %MENHIR --explain %<
+ %MENHIR --explain --code-ancient %<
# Hack required to break circular dependencies.
echo 'val lexer_read : (Lexing.lexbuf -> token) option ref' >> src/parser.mli
echo 'val eval_substitute : (Ast.env -> Ast.loc -> Ast.substs -> string) option ref' >> src/parser.mli
# goals itself (see Goalfile.in).
src/goals:
- $(MENHIR) --explain src/parser.mly
+ $(MENHIR) --explain --code-ancient src/parser.mly
# Hack required to break circular dependencies.
echo 'val lexer_read : (Lexing.lexbuf -> token) option ref' >> src/parser.mli
echo 'val eval_substitute : (Ast.env -> Ast.loc -> Ast.substs -> string) option ref' >> src/parser.mli