Skip to content

Add Lexer#wants_def_or_macro_name#14352

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
straight-shoota:refactor/lexer-wants-def-or-macro-name
Mar 9, 2024
Merged

Add Lexer#wants_def_or_macro_name#14352
straight-shoota merged 1 commit intocrystal-lang:masterfrom
straight-shoota:refactor/lexer-wants-def-or-macro-name

Conversation

@straight-shoota
Copy link
Member

Adds a very simple helper method which encapsulates the pattern of enabling @wants_def_or_macro_name, running some code, and disabling it again.

@straight-shoota straight-shoota added this to the 1.12.0 milestone Mar 8, 2024
@straight-shoota straight-shoota merged commit 8fafef2 into crystal-lang:master Mar 9, 2024
@straight-shoota straight-shoota deleted the refactor/lexer-wants-def-or-macro-name branch March 9, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants