]> granicus.if.org Git - re2c/commit
Merged computation of fixed / variable tags into NFA construction.
authorUlya Trofimovich <skvadrik@gmail.com>
Sat, 26 Nov 2016 20:16:11 +0000 (20:16 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Sat, 26 Nov 2016 20:16:11 +0000 (20:16 +0000)
commit16d8045faa4a69d5a1f2d885afbc265cb68a4e40
treee8bee95366ce8537c877053739baa6d6a5b5a3c0
parent762a84428ad00ae04b91f35951ba168a0efaeedb
Merged computation of fixed / variable tags into NFA construction.

NFA construction is already complex because of insertion of default tags,
now it gets even worse. However, keeping two separate passes requires
maintaining exactly the same order of traversal, which is fragile.
re2c/Makefile.am
re2c/src/ir/nfa/make_tags.cc [deleted file]
re2c/src/ir/nfa/nfa.cc
re2c/src/ir/nfa/nfa.h
re2c/src/ir/nfa/regexps2nfa.cc