lexer: Avoid reentering the lexer upon error in special cases.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 18 Mar 2023 21:09:38 +0000 (14:09 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 18 Mar 2023 21:26:07 +0000 (14:26 -0700)
commit8037ba709328b0896cf825f0ca6e4177ee4a512b
treea5bd8ea6d0d3bd76bf84a649d4ac87315e024f96
parent47b016a3e38e43d446724f784fd4782456e676b2
lexer: Avoid reentering the lexer upon error in special cases.

Thanks to Youngseok Choi for reporting the bug.
src/language/lexer/lexer.c
tests/language/lexer/lexer.at