]> granicus.if.org Git - re2c/commit
Compare DFA states rather than labels.
authorUlya Trofimovich <skvadrik@gmail.com>
Thu, 21 May 2015 13:38:13 +0000 (14:38 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Thu, 21 May 2015 13:38:13 +0000 (14:38 +0100)
commit923f4c5559b1f8b43e63d1013d91698e7496e28c
tree6973d2c8cb98befa39f1d135b9de8289aae83e38
parent17bfdc6dd91cee1dcb99782517b1b772757e6fbe
Compare DFA states rather than labels.

This is first step to postpone labelling states until all the
code is actually generated (in the form of some structure in
memory) and it's time to pretty-print it to file.

Labels shouldn't be mixed up with states (in particular, they
shouldn't be used as a state identifier).
re2c/src/codegen/go_construct.cc
re2c/src/dfa/dfa.cc