We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! Is there a way to pass the dollar sign from the grammar.y file to the parser output file without modification? I want to do something like this:
grammar.y
parser
%% rule { \$this->var = $1; } ... %%
... switch (yyn) { case 2: { $this->var = yystack.valueAt(0)); } break; ...
I spent several hours on this and I think it's impossible. Can you help me?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi!
Is there a way to pass the dollar sign from the
grammar.y
file to theparser
output file without modification?I want to do something like this:
grammar.y
parser
I spent several hours on this and I think it's impossible.
Can you help me?
The text was updated successfully, but these errors were encountered: