Sourav Kannantha B
Sourav Kannantha B
Describe please.
Related issue: #540
Related issue: #448
Related issue: #444
Shouldn't `yyleng` be updated to reflect new length of `yytext`?
It need not be `yyless(0)`. Any call to `yyless(n)` after a call to `input()` will result in a bug. In the above example, after call to `yyless(0)`, I expect input...
I haven't used flex much. Also, my codebase didn't contain `input()` followed by `yylex()` till today. So I can't answer that question.
Glad to help. Related issue #395, in `input()` function. Both has to be fixed to get expected value in input stream as mentioned above. In documentation, it is not clear...
Can this problem be fixed soon?