-
Notifications
You must be signed in to change notification settings - Fork 89
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
Broken for D parsers: %code lexer { #84
Comments
This was referenced Jun 11, 2022
adelavais
added a commit
to adelavais/bison
that referenced
this issue
Sep 19, 2022
Fix syntax error regarding interface implementation of the Lexer when the option is used. Reported by ledaniel2. <akimd#84> * data/skeletons/lalr1.d: Fix syntax. * tests/d.at: Test it.
adelavais
added a commit
to adelavais/bison
that referenced
this issue
Sep 19, 2022
st it> Fix syntax error regarding interface inheritance of the Lexer when the %code lexer option is used. Reported by ledaniel2. <akimd#84> * data/skeletons/lalr1.d: Fix syntax. * tests/d.at: Test it.
adelavais
added a commit
to adelavais/bison
that referenced
this issue
Sep 19, 2022
Fix syntax error regarding interface inheritance of the Lexer. It appeared when the %code lexer option was used. Reported by ledaniel2. <akimd#84> * data/skeletons/lalr1.d: Fix syntax. * tests/d.at: Test it.
akimd
pushed a commit
that referenced
this issue
Sep 20, 2022
Fix syntax error regarding interface inheritance of the Lexer. It appeared when the `%code lexer` option was used. Reported by ledaniel2. <#84> * data/skeletons/lalr1.d: Fix syntax. * tests/d.at: Test it.
Fixed in master. Thanks to both of you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The use of
%code lexer {
in the grammar file is to be broken for%language "D"
. For file bison/data/skeletons/lalr1.d at line 272, changingimplements
to:
seems to be all that is needed to fix this issue (from limited testing).It's great to see D support in bison, and I hope it will continue to be developed/extended.
The text was updated successfully, but these errors were encountered: