Mercurial > hg > octave-nkf
diff src/lex.h @ 3225:7aae2c3636a7
[project @ 1998-12-04 23:20:12 by jwe]
author | jwe |
---|---|
date | Fri, 04 Dec 1998 23:20:26 +0000 |
parents | bef7b73c0724 |
children | 8623649c967c |
line wrap: on
line diff
--- a/src/lex.h +++ b/src/lex.h @@ -33,6 +33,8 @@ YY_FATAL_ERROR ("octave_read () in flex scanner failed"); // Try to avoid crashing out completely on fatal scanner errors. +// The call to yy_fatal_error should never happen, but it avoids a +// `static function defined but not used' warning from gcc. #ifdef YY_FATAL_ERROR #undef YY_FATAL_ERROR @@ -42,6 +44,7 @@ { \ error (msg); \ jump_to_top_level (); \ + yy_fatal_error (msg); \ } \ while (0)