summaryrefslogtreecommitdiff
path: root/testsuite.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-01-20 05:05:49 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-01-20 05:19:42 +0100
commit707204ac4a5539c9b4d4875d12fec340ba95c1a2 (patch)
treec16701e575665d6b6384aa885aae7b0d7aa915de /testsuite.py
parent4b8d5887667fd24dba8dee15f326f908f3ab142b (diff)
Get rid of _next_help_line()
Speeds things up a bit further. Rework the unget handling to save the ungotten line directly instead of using a flag. Add some help texts to tests/Klocation to make sure the line number is updated properly for those.
Diffstat (limited to 'testsuite.py')
-rw-r--r--testsuite.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite.py b/testsuite.py
index dcc5607..7219c07 100644
--- a/testsuite.py
+++ b/testsuite.py
@@ -766,9 +766,9 @@ g
verify_locations(c.syms["MULTI_DEF"].nodes,
"tests/Klocation:6",
- "tests/Klocation:16",
+ "tests/Klocation:29",
"tests/Klocation_included:3",
- "tests/Klocation:32")
+ "tests/Klocation:45")
verify_locations(c.named_choices["CHOICE"].nodes,
"tests/Klocation_included:5")