From f73e20158641a96882565852d0e2a6bf1540d950 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 29 Apr 2021 00:31:06 +0200 Subject: lexer: fix infinite loop when parsing regexp literal at EOF Signed-off-by: Jo-Philipp Wich --- tests/custom/run_tests.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/custom/run_tests.sh') diff --git a/tests/custom/run_tests.sh b/tests/custom/run_tests.sh index 61b116f..db64021 100755 --- a/tests/custom/run_tests.sh +++ b/tests/custom/run_tests.sh @@ -28,6 +28,11 @@ extract_sections() { outfile=$(printf "%s/%03d.%s" "$dir" $count "$tag") printf "" > "$outfile" ;; + "-- End (no-eol) --") + truncate -s -1 "$outfile" + tag="" + outfile="" + ;; "-- End --") tag="" outfile="" -- cgit v1.2.3