Skip to content

parser: track-context-for-break-continue-return-and-error-if-not-applicable#83

Merged
Alonely0 merged 1 commit into
uutils:mainfrom
Franklin-Qi:feature-task#75-Parser-track-context-for-break-continue-return
Jul 16, 2026
Merged

parser: track-context-for-break-continue-return-and-error-if-not-applicable#83
Alonely0 merged 1 commit into
uutils:mainfrom
Franklin-Qi:feature-task#75-Parser-track-context-for-break-continue-return

Conversation

@Franklin-Qi

Copy link
Copy Markdown
Contributor

Track allow flags on Parser so break/continue are only accepted in loops (and break in switch), and return only inside functions. Error messages match gawk (LANG=C).

Fixes #75

…icable

Track allow flags on Parser so break/continue are only accepted in
loops (and break in switch), and return only inside functions.
Error messages match gawk (LANG=C).

Fixes uutils#75
@Franklin-Qi Franklin-Qi force-pushed the feature-task#75-Parser-track-context-for-break-continue-return branch from b2c54a9 to 8586ecf Compare July 16, 2026 03:59

@Alonely0 Alonely0 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff :)

@Alonely0 Alonely0 merged commit ed82b87 into uutils:main Jul 16, 2026
27 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

parser: track context for break, continue and return and error if not applicable

2 participants