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
parse-error wording/rc divergences vs GNU 5.3.0 (4 focused cases from wt33 sweep) #390
Found during wt33 triage of #373. Real but narrow divergences in parse-error MESSAGE TEXT (and rc for the first two). All reproductions are script-file probes under target/issue-suites/results/wt33-373/run/ (runner run_cases.sh); same-named .gnu/.rub files hold both shells' stdout/stderr/rc.
Unclosed arithmetic subscript — ((X=([))] (B11):
GNU: unexpected EOF while looking for matching \)'`, rc 1
rubash: line 3: syntax error: unexpected end of file from \(' command on line 1`, rc 2
Analysis complete (wt37/gapfix1, artifacts target/issue-suites/results/wt37-gapfix1/issue390-391-analysis.txt + issue390-probes/): q3/q4 need the esacs_needed_count bookkeeping port plus the yacc error-recovery naming chain — GNU rule boundary mapped (case x in fi) legal, case x in esac) errors at the ), only |/(-preceded esac is exempt); q1/q2 are combined-error rc attribution (the single-shot EOF family is already GNU-correct on master). Scope is a focused lane; picking up next wave.
Landed as two commits on master (CI green d47cef6): all four probe families fixed with the full GNU citation chain (parse.y:3726-3733 read_token \→parse_dparen, 4925-4950 nested-subshell reinterpretation, 3908-3915 matched-pair EOF wording with start_lineno, 7140-7174 compound-assignment rc=1, 3168-3209 CHECK_FOR_RESERVED_WORD with the |/( exemptions and ESAC closure, esacs_needed_count accounting). Notable reclassification found while fixing: ((x=[y)) / ((a[b)) take the P_ARITH data branch — the evaluator reports rc 1 where rubash used to rc-2 reject. 109/113 matrix byte-identical; issue390 suite 9/9; true-baseline extglob/array/assoc/case/errors slices byte-identical. The 4 matrix-expansion residuals filed as follow-ups.
Activity
fix(#385): case command as a pipeline stage — `|` after esac is a con…
fix(#388): strip word-initial comment SPANS in the function-head sign…
caomengxuan666 commentedon Oct 2, 2026
Analysis complete (wt37/gapfix1, artifacts
target/issue-suites/results/wt37-gapfix1/issue390-391-analysis.txt+ issue390-probes/): q3/q4 need theesacs_needed_countbookkeeping port plus the yacc error-recovery naming chain — GNU rule boundary mapped (case x in fi)legal,case x in esac)errors at the), only|/(-preceded esac is exempt); q1/q2 are combined-error rc attribution (the single-shot EOF family is already GNU-correct on master). Scope is a focused lane; picking up next wave.fix(#390): parse-error wording/rc parity for the arith-EOF, subscript…
fix(#391): compound-assignment element-leading [ spans are one glob w…
caomengxuan666 commentedon Oct 2, 2026
Landed as two commits on master (CI green d47cef6): all four probe families fixed with the full GNU citation chain (parse.y:3726-3733 read_token \→parse_dparen, 4925-4950 nested-subshell reinterpretation, 3908-3915 matched-pair EOF wording with start_lineno, 7140-7174 compound-assignment rc=1, 3168-3209 CHECK_FOR_RESERVED_WORD with the |/( exemptions and ESAC closure, esacs_needed_count accounting). Notable reclassification found while fixing:
((x=[y))/((a[b))take the P_ARITH data branch — the evaluator reports rc 1 where rubash used to rc-2 reject. 109/113 matrix byte-identical; issue390 suite 9/9; true-baseline extglob/array/assoc/case/errors slices byte-identical. The 4 matrix-expansion residuals filed as follow-ups.tests(wt42): align 10 stale expectations with GNU 5.3.0 after 815802e
fix(#414): posix keeps reserved words as keywords at alias-expansion …
fix(#413): compound-assignment element [ spans and the char-level dpa…
fix: top-level unclosed procsub continuation, [ ( diagnostic token, b…
fix(#390): keep the single-char dparen EOF wording the #390 pins exer…
fix: Wave4b P2 batch - $[ EOF scan, declare -aA, procsub fd window, t…
fix(parser): procsub source reprint keeps `;` before closers and at b…
WIP: coproc/procsub residual reconciliation (wave 3) (#1866)