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

When parsing parse.y with the --report=cex option, the process does not finish #468

Open
ydah opened this issue Sep 20, 2024 · 0 comments
Open

Comments

@ydah
Copy link
Collaborator

ydah commented Sep 20, 2024

How to reproduce

  1. check out this branch: https://github.com/ydah/ruby/tree/use-user-defined-parameterizing-rule

  2. run following commands

$ ruby tool/id2token.rb parse.y > parse.tmp.y   
$ tool/lrama/exe/lrama --report=cex parse.tmp.y

Investigation

Works fine without the option.

$ exe/lrama parse.t.y
shift/reduce conflicts: 3 found, 0 expected

And if it is parse.y in the master branch, it works fine.

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

No branches or pull requests

1 participant