Howdy! Using the clang static analyzer and re2c 0.16, I've found a few instances where the analyzer finds instances of yych = YYPEEK (); where yych is not subsequently used in the control path. Although benign as bugs go, I'd still like to help you fix it.
Not 100% sure how to build a minimizing test case, without which it will be hard for you to track down the bug. Is there a way to figure out from the goto labels in the generated code to particular regular expressions that triggered the construction of that part of the code?
Howdy! Using the clang static analyzer and re2c 0.16, I've found a few instances where the analyzer finds instances of
yych = YYPEEK ();whereyychis not subsequently used in the control path. Although benign as bugs go, I'd still like to help you fix it.Not 100% sure how to build a minimizing test case, without which it will be hard for you to track down the bug. Is there a way to figure out from the goto labels in the generated code to particular regular expressions that triggered the construction of that part of the code?