Repository navigation
fix: Wave4a P2 batch - redirect ambiguity gate, backtick diagnostic window, command-position paren, compgen tilde (#514 #515 #516 #523) - #576
Merged
Conversation
…n arith body parens and dollar-group double-advance
- unclosed_comsub_eof_shape: a command-position (( dparen root parses its
body as arithmetic (parse.y:3726-3733 read_token -> parse_dparen ->
parse_arith_cmd), so a nested '(' like the 1+( of '((1+(2' is arithmetic
grouping, never a yacc token error; the whole shape defers to the
generic close-char scan and the q1 family reports its P_ARITH EOF
wording again ('unexpected EOF while looking for matching ')''), rc 2.
'echo ((' has no command-position root and keeps the #516 token-error
class. (issue390 q1_arith_eof_names_close_paren_at_open_line_rc2)
- dollar_double_paren_is_arithmetic: dollar_word_group_len returns the
index PAST the group closer, so the '$'-group arm must resume on it
directly; the loop-bottom scan += 1 skipped one character too many and
a ${name} hugging the closing '))' swallowed the first ')' of the pair
- $((10#${OMB_VERSINFO[0]})) was misread as a command substitution
('10#1: command not found', printf %d -> 0). (pb10k
array_literal_elements_survive_a_live_digit_alias)
This was referenced Oct 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Six P2s from the huck-corpus triage (#514/#515/#516/#523), each with vendored-bash file:line anchors, WSL GNU 5.3.0 byte-comparison, and RED-then-GREEN regressions (19 locks verified against fresh master). Plus two mine-only regressions caught by full-suite comparison ((1+(2 dparen root gate, dollar-double-paren double-step) fixed in the same batch. Failure-set parity: mine-only = empty vs fresh master.