summaryrefslogtreecommitdiff
path: root/testsuite.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-01-27 14:44:51 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-01-27 15:24:19 +0100
commit87163168c690484ec3f4fd91d34cd33f127324a7 (patch)
treecc837b0ac36d29acf5c0917525d5063f35d4ed00 /testsuite.py
parent82ec7194883292a22dbd4239dd1d1932ab6ce393 (diff)
Generate a parse error for extra tokens at EOL
Extra unconsumed tokens at the end of lines were previously ignored. Better to flag it. Also inline _next_token() and _peek_token() into the syntax checking variants of _next_token(). This code is pretty hot, and it saves a few % of parsing time.
Diffstat (limited to 'testsuite.py')
0 files changed, 0 insertions, 0 deletions