Skip to content
Snippets Groups Projects
Commit 2da55e01 authored by dgelessus's avatar dgelessus
Browse files

Remove unneeded acceptState variable from generated Lexer.getToken

Its value was never really used - the code only ever checked if it is -1
(its initial value) or not. The existing acceptToken variable can
fulfill the same purpose - it's also initially -1 and set to a different
value at the same time as acceptState.
parent 1c500ed2
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment