You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: escaped reserved words + continuation in a case pattern list fail to parse (harden.mm shape) #3000
area:parserlexer/parser: heredoc collection, comsub body re-parse, quoting statebugSomething isn't workinggnu-baselineTracked by the GNU Bash 5.3.0 true-baseline ledger
最小形(队长在 base 与 PR #2994 头二进制上同形复现,两边同错;文件即车道探针 h1.sh):
f() {
case$1in
(\!|\{|\}|case|do|done|elif|else|\esac|fi|for|if|in|then|until|while \
|break|:|continue|.|eval|exec|exit)
echo reserved ;;
(*) echo other ;;
esac
}
f fi
f ls
$ rubash h1.shh1.sh: line 3: syntax error near unexpected token `fi'
$ bash h1.shreservedother
area:parserlexer/parser: heredoc collection, comsub body re-parse, quoting statebugSomething isn't workinggnu-baselineTracked by the GNU Bash 5.3.0 true-baseline ledger
Activity
fix(lexer): quoted \esac no longer terminates case-reader state (Refs u…