Mercurial > octave-nkf
diff libinterp/parse-tree/lex.h @ 16129:053b0364b507
localize use of yy_fatal_error with lexical_feedback member function
* lex.h, lex.ll (lexical_feedback::fatal_error): New function.
(YY_FATAL_ERROR): Use it.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 26 Feb 2013 16:03:00 -0500 |
parents | 210039e91ad6 |
children | 421dea028bbf |
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.h Tue Feb 26 15:39:56 2013 -0500 +++ b/libinterp/parse-tree/lex.h Tue Feb 26 16:03:00 2013 -0500 @@ -291,6 +291,8 @@ void display_token (int tok); + void fatal_error (const char *msg); + void lexer_debug (const char *pattern, const char *text); // TRUE means that we should convert spaces to a comma inside a