Skip to content

Use grouping instead of generic_symbol - #475

Merged
ydah merged 1 commit into
ruby:masterfrom
ydah:use-grouping
Oct 4, 2024
Merged

Use grouping instead of generic_symbol#475
ydah merged 1 commit into
ruby:masterfrom
ydah:use-grouping

Conversation

@ydah

@ydah ydah commented Oct 1, 2024

Copy link
Copy Markdown
Member

No description provided.

%printer {
print_token();
} tNUMBER tSTRING
%destructor {

Copy link
Copy Markdown
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
Copy Markdown
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
@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