From 05a27df3423dfddd9e48abfba019cf26da5ce4a5 Mon Sep 17 00:00:00 2001 From: François Pottier Date: Tue, 10 Nov 2015 15:37:00 +0100 Subject: Change one line in [Lexer.mll] to obey API change in Menhir 20151110. Update configure to require Menhir 20151110. --- cparser/Lexer.mll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cparser/Lexer.mll') diff --git a/cparser/Lexer.mll b/cparser/Lexer.mll index 23d8ab8d..17c4528c 100644 --- a/cparser/Lexer.mll +++ b/cparser/Lexer.mll @@ -470,7 +470,7 @@ and singleline_comment = parse let lexbuf = Lexing.from_string text in lexbuf.lex_curr_p <- {lexbuf.lex_curr_p with pos_fname = filename; pos_lnum = 1}; let module I = Pre_parser.MenhirInterpreter in - let checkpoint = Pre_parser.Incremental.translation_unit_file() + let checkpoint = Pre_parser.Incremental.translation_unit_file lexbuf.lex_curr_p and supplier = I.lexer_lexbuf_to_supplier lexer lexbuf and succeed () = () and fail checkpoint = -- cgit