ruby / racc

Racc is an LALR(1) parser generator. It is written in Ruby itself, and generates ruby programs.
Other
535 stars 88 forks source link

Support `error_on_expect_mismatch` declaration in Racc grammar file #262

Closed yui-knk closed 3 months ago

yui-knk commented 4 months ago

expect warns the difference between expected S/R conflicts count and actual count however racc command exits with success. racc command will exit with failure if error_on_expect_mismatch declaration is specified therefore build process of racc user will also fail.

yui-knk commented 4 months ago

I will change to implement error_on_expect_mismatch declaration to manage exit code instead of expect! declaration.