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

"shift/reduce conflicts" warning when building parser.y #150

Open
qdeslandes opened this issue Oct 26, 2024 · 0 comments
Open

"shift/reduce conflicts" warning when building parser.y #150

qdeslandes opened this issue Oct 26, 2024 · 0 comments

Comments

@qdeslandes
Copy link
Contributor

When Bison builds parser.y for bfcli, the following warning appears:

[ 57%] [BISON][bfcli_parser] Building parser with bison 3.8.2
/home/quentin/Projects/bpfilter/src/bfcli/parser.y: warning: 2 shift/reduce conflicts [-Wconflicts-sr]
/home/quentin/Projects/bpfilter/src/bfcli/parser.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples

This warning is due to conflicting rules, which could generate unexpected output.

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