]> granicus.if.org Git - re2c/commit
Simplified creation of rule states and backup states.
authorUlya Trofimovich <skvadrik@gmail.com>
Mon, 8 Jun 2015 21:25:32 +0000 (22:25 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Mon, 8 Jun 2015 21:25:32 +0000 (22:25 +0100)
commit7cea5109651304819dd5e18af933bf15f4a45761
tree5150473575ee8ea4c09138b5fd98de7fd92a8878
parent7bb605ea778f20719858d6aa8569e385e252f934
Simplified creation of rule states and backup states.

New simpler implementation uses STL containers instaed of sparse
array. It's less efficient, but the place is not a bottleneck and
simplicity is more important than efficiency.
re2c/Makefile.am
re2c/src/codegen/emit_action.cc
re2c/src/codegen/emit_dfa.cc
re2c/src/codegen/prepare_dfa.cc
re2c/src/dfa/action.h
re2c/src/util/uniq_vector.h [new file with mode: 0644]