diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-04-29 00:31:06 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-04-29 00:31:06 +0200 |
commit | f73e20158641a96882565852d0e2a6bf1540d950 (patch) | |
tree | 800d1fbdfe4f068f897e794d7b114e3545099067 /tests/custom/run_tests.sh | |
parent | 86b4863837edbd9aaac1aeea3f0101076ef55f09 (diff) |
lexer: fix infinite loop when parsing regexp literal at EOF
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests/custom/run_tests.sh')
-rwxr-xr-x | tests/custom/run_tests.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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="" |