Next: unnamed-faq-62, Previous: Where can I find grammars for lex and yacc?, Up: FAQ [Contents][Index]
This will happen if your LexerInput() function returns only one character at a time, which can happen either if you’re scanner is "interactive", or if the streams library on your platform always returns 1 for yyin->gcount().
Solution: override LexerInput() with a version that returns whole buffers.