Use YYEOF which is zero, and not EOF which is -1.
This appears to be a regression in flex since 2.6.1: https://stackoverflow.com/a/73768269/213353
parent
b8071ab6
Please register or sign in to comment
This appears to be a regression in flex since 2.6.1: https://stackoverflow.com/a/73768269/213353