>I may be misunderstanding your question, but that is the expected behavior.
I understand that this is the expected behaviour normally, but that is why I have replaced the function with my own. (Which for testing purposes just returns 'a'). The question is why this behaviour remains, even without the YY_INPUT macro.
Main Topics
Browse All Topics





by: mrjoltcolaPosted on 2009-07-01 at 09:14:24ID: 24755840
I may be misunderstanding your question, but that is the expected behavior.
The lexer will consume tokens until end-of-file or until otherwise told so by the parser.
Can you clarify your question?