Skip to content

Add support for parsing digraphs#160

Merged
virtuald merged 5 commits into
mainfrom
lexer-digraphs
Jun 26, 2026
Merged

Add support for parsing digraphs#160
virtuald merged 5 commits into
mainfrom
lexer-digraphs

Conversation

@virtuald

Copy link
Copy Markdown
Member

Alternative approach for #158 via GPT 5.5. I like this approach better as it does the substitutions directly at the lexer level, instead of adding something to the lex loop.

@HaydenMichel8 does this meet your parsing requirements? I added your test cases to the last commit.

virtuald and others added 5 commits June 26, 2026 04:34
C++ test inputs extracted from Hayden Michel's add_digraphs branch; assertions regenerated with python -m cxxheaderparser.gentest.

Co-authored-by: Hayden Michel <haydenmichel8@gmail.com>
@HaydenMichel8

Copy link
Copy Markdown
Contributor

Looks good! Thanks for improving this.

@virtuald virtuald merged commit 2637158 into main Jun 26, 2026
33 checks passed
@virtuald virtuald deleted the lexer-digraphs branch June 26, 2026 15:03
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.

2 participants