Skip to content

Conversation

@jlapeyre
Copy link
Collaborator

  • This fixes a bug in which
pragmaxyz any characters

was lexed as a PRAGMA

Same with

    #pragmaxyz any characters

These should instead be lexed as invalid identifiers

  • Refactor code in oq3_lexer/src/lib.rs for increased clarity and maintainability.

* This fixes a bug in which

    pragmaxyz any characters

was lexed as a PRAGMA
Same with

    #pragmaxyz any characters

These should instead be lexed as invalid identifiers

* Refactor code in oq3_lexer/src/lib.rs for increased clarity and maintainability.
@jlapeyre jlapeyre force-pushed the fix-bug-in-lexing-pragma branch from ea59f94 to b48d70a Compare November 29, 2025 04:37
@jlapeyre jlapeyre merged commit 54d23f3 into Qiskit:main Nov 29, 2025
10 checks passed
@jlapeyre jlapeyre deleted the fix-bug-in-lexing-pragma branch December 2, 2025 13:29
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.

1 participant