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

Divide codes to sub classes #194

Merged
merged 1 commit into from
Nov 5, 2023
Merged

Conversation

yui-knk
Copy link
Collaborator

@yui-knk yui-knk commented Nov 5, 2023

Which variables can be used and how these variables are replaced depend on where the code is written.

For example:

  • '$n' and '@$' can not be used in '%initial-action'
  • '$$' is replaced with 'yylval' in '%initial-action', but replaced with 'yyval' in rule action

Divide code translation logic into sub classes to manage these difference well.

Which variables can be used and how these variables are replaced
depend on where the code is written.

For example:

* '$n' and '@$' can not be used in '%initial-action'
* '$$' is replaced with 'yylval' in '%initial-action', but replaced with 'yyval' in rule action

Divide code translation logic into sub classes to manage these difference well.
@yui-knk yui-knk merged commit 74735f1 into ruby:master Nov 5, 2023
14 checks passed
@yui-knk yui-knk deleted the Code_to_subclasses branch November 5, 2023 12:07
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