Skip to content

switch OpenQASM grammar from variable length to fixed length lookbehind#3480

Open
filipw wants to merge 1 commit into
microsoft:mainfrom
filipw:qasm-grammar-bug
Open

switch OpenQASM grammar from variable length to fixed length lookbehind#3480
filipw wants to merge 1 commit into
microsoft:mainfrom
filipw:qasm-grammar-bug

Conversation

@filipw

@filipw filipw commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Fixes #3479

This should have minimal impact (only edge cases). The intent is preserved - don't highlight as keywords when used as member access.

It really only affects member access where whitespace or a line break sits between the . AND an identifier that happens to match one of the keywords.

For example none of the committed qasm/inc files has such edge case.

@filipw
filipw requested review from amcasey, billti and idavis as code owners July 16, 2026 17:43
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.

OpenQASM TextMate grammar is incompatible with Linguist

1 participant