check for delimiter_depth being 0 before popping off the stack (reset_parser resets it); make EOFs while reading here-doc delimiters sticky; when reading arith command, push back a character after the first closing paren that isn't a second close paren to fix backslash issue

This commit is contained in:
Chet Ramey
2025-04-30 16:19:08 -04:00
parent 7731dc5c4d
commit 15df599354
4 changed files with 79 additions and 19 deletions
-5
View File
@@ -52,11 +52,6 @@ a = abc
<$'spring\375'>
<summer>
<automn>
<winter>
<$'spring\375'>
<$'\277summer'>
<$'\277'>
<automn>
timeout 1: ok
unset or null 1
timeout 2: ok