On Mon, Mar 6, 2023 at 9:16 AM Chet Ramey <chet.ra...@case.edu> wrote: > Thanks for the report. It's the specific combination of `if' and the `((' > command that causes the problem.
Looks like same thing also happens when `if' is followed by a newline ./bash -c $'case $LINENO in 0) if\n:; then echo FAIL; fi esac' bash/parse.y:980:82: runtime error: index -1 out of bounds for type 'int[257]' #0 0x100759bcc in yyparse parse.y:980