diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-06-29 20:12:15 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-06-29 20:15:55 +0200 |
commit | a97c7a1378addace9d4c413543794a35c19d1f03 (patch) | |
tree | 52132145b2238059112dab76ef14ed3c78e0bb04 /examples/execute-string.c | |
parent | 2a838d1f9f58d05bc1e15084efa42ad86fc105e4 (diff) |
lexer: transition into EOF state on unrecognized character
The compiler will keep fetching tokens until hitting EOF, so ensure that
the lexer produces EOF after an unrecognized character error.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'examples/execute-string.c')
0 files changed, 0 insertions, 0 deletions