Closed ppk03 closed 10 months ago
If someone type "checkNext(EOF)", he can still get correct result.
That's true, but the parser never needs to do that. (It would also be a little strange if there was a place in the grammar where the interpretation of a token changed only if it was literally the last token in the file.)
I belive the following code for challenge 10.2:
would be better if you change it to:
If someone type "checkNext(EOF)", he can still get correct result.