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

Separate number and index in Grammar::Reference #370

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

ydah
Copy link
Collaborator

@ydah ydah commented Feb 13, 2024

This PR is separate number and index.
When Inlining is implemented, for example, if $1 is expanded to multiple RHS tokens, $2 needs to access $2 + n to actually access it. So, after the Inlining implementation, it needs resolves from number to index.

@ydah ydah changed the title Separate number and index Separate number and index in Grammar:: Reference Feb 13, 2024
@ydah ydah changed the title Separate number and index in Grammar:: Reference Separate number and index in Grammar::Reference Feb 13, 2024
@yui-knk yui-knk merged commit 30e1f29 into ruby:master Feb 14, 2024
17 checks passed
@ydah ydah deleted the devide-number-index branch February 14, 2024 09:39
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