Skip to content

Helpful macros#3776

Merged
kddnewton merged 6 commits into
mainfrom
upcast
Dec 2, 2025
Merged

Helpful macros#3776
kddnewton merged 6 commits into
mainfrom
upcast

Conversation

@kddnewton

Copy link
Copy Markdown
Collaborator

Adding a couple of helpful macros and applying them to prism.c. This is purely an aesthetics change, the code should be functionally equivalent.

Part of this is to make things more readable, part of this is to reduce the number of places where we are calling node->base or node->location or node->flags. If we're going to change the location to use 32-bit integers, it would ease the migration process if there were fewer places that accessed it directly.

@kddnewton
kddnewton merged commit 434c4c5 into main Dec 2, 2025
64 checks passed
@kddnewton
kddnewton deleted the upcast branch December 2, 2025 22:14
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