Skip to content

yych being set by YYPEEK () and then not used. #182

Description

@pmetzger

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions