-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate C preprocessor directive handling (#106)
This commit migrates the handling of C preprocessor directives to the parser unit. This change unifies the behavior of the lexer unit, enabling it to focus solely on lexical analysis. Additionally, this enhances the parsing of preprocessor directives by processing them as tokens instead of raw strings. Note: In this commit, several temporary hacks have been introduced to address issues arising from the previous design's shortcomings (see lexer.c#lex_accept for details).
- Loading branch information
1 parent
4785259
commit dfc03e4
Showing
2 changed files
with
234 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.