Skip to content

compilation breaks after bison 3.7.x upgrade #20

@priv-kweihmann

Description

@priv-kweihmann

After updating to bison 3.7.1 compilation doesn't work anymore - compiler is complains about syntax errors.
Same files work with versions < 3.7.0

find -name "*.y" -exec bison --update {} \; does return

./src/mtgrammar.y: warning: 11 shift/reduce conflicts [-Wconflicts-sr]
./src/mtgrammar.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
./src/cgrammar.y: warning: 159 shift/reduce conflicts [-Wconflicts-sr]
./src/cgrammar.y: warning: 123 reduce/reduce conflicts [-Wconflicts-rr]
./src/cgrammar.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
./src/llgrammar.y: warning: 2 shift/reduce conflicts [-Wconflicts-sr]
./src/llgrammar.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples

Used versions

  • bison 3.7.1
  • gcc 10.2.0
  • splint a28a60f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions