Skip to content

Conversation

@lucascolley
Copy link
Contributor

closes gh-257

OPERATOR = _{
AND_IF | OR_IF | DSEMI | DLESS | DGREAT | LESSAND | GREATAND | LESSGREAT | DLESSDASH | CLOBBER |
"," |"(" | ")" | "{" | "}" | ";" | "&" | "|" | "<" | ">"
"(" | ")" | "{" | "}" | ";" | "&" | "|" | "<" | ">"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@prsabahrami do you happen to know whether there is any behaviour which relies on , being an OPERATOR? At least it doesn't look like there is test coverage for such behaviour.

Copy link
Collaborator

@certik certik left a comment

Choose a reason for hiding this comment

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

I think this fixes a very annoying bug, so let's merge it. It adds a test.

Further improvements can be done later, as long as tests (including this new one) pass, we have a solid way forward.

@certik certik merged commit 1458b68 into prefix-dev:main May 2, 2025
7 of 8 checks passed
@lucascolley lucascolley deleted the comma-operator branch May 2, 2025 14:49
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.

Compilation command fails to parse

2 participants