From 707204ac4a5539c9b4d4875d12fec340ba95c1a2 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 20 Jan 2018 05:05:49 +0100 Subject: 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. --- testsuite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite.py') 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") -- cgit v1.2.3