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

Use grouping instead of generic_symbol #475

Merged
merged 1 commit into from
Oct 4, 2024
Merged

Conversation

ydah
Copy link
Member

@ydah ydah commented Oct 1, 2024

No description provided.

@@ -18,6 +18,13 @@
%printer {
print_token();
} tNUMBER tSTRING
%destructor {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intentional change or forget to remove after debug?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intentionally change it. I noticed in spec/lrama/context_spec.rb that .flatten is needed in %printer. So I also added %destructor and %error-token. However, I am sure that they are not essential tests in this file, so you may want to check them with other tests. What do you think?

@ydah ydah merged commit a7842f8 into ruby:master Oct 4, 2024
18 checks passed
@ydah ydah deleted the use-grouping branch October 4, 2024 03:00
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