> Why should a writer of a C scanner care?

The input() function they use is the same as yyinout(), just using a
different name.

This change broke e.g. the Small Device C Compiler (SDCC, in the sdcc
Debian package):

When compiling a file containing an unterminated string literal, SDCC
compiled using flex 2.5.4 gives an error mesagge. SDCC compiled using
SDCC 2.6.4 hangs (it gets into an endless loop looking for the end of
the string literal, as it never gets an " or EOF from input()).

Philipp

Reply via email to