Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ability for Lexer to add macros to ParseContext #2312

Open
wants to merge 2 commits into
base: AST-Generation
Choose a base branch
from

Conversation

dc03
Copy link
Contributor

@dc03 dc03 commented Jul 18, 2022

This relies on a horrible const_cast hack, as the ParseContext is always a const pointer however AddMacro requires modifying its state in macro_map.

dc03 added 2 commits July 18, 2022 23:41
- This relies on a horrible `const_cast` hack, as the `ParseContext` is
  always a const pointer
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.

None yet

1 participant