]> granicus.if.org Git - re2c/commit
Separated lookahead tags from tag versions in closure items.
authorUlya Trofimovich <skvadrik@gmail.com>
Wed, 5 Apr 2017 11:42:05 +0000 (12:42 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Wed, 5 Apr 2017 11:50:24 +0000 (12:50 +0100)
commita6935985400ee6fa39adc5971cfcb24e7ef39af8
tree80ae3681a207bd87282392f3b3f01b019889a27b
parent55853fdc015c2c65a397165c7ef791662f6a063c
Separated lookahead tags from tag versions in closure items.

This commit reverts commit 0b2ca9bf141259baf6cb0b067621c06db5f06b46:
"Pack lookahead tags together with tag versions in TDFA state."

Packing was possible because we were not interested in tag version
if closure item had this tag in lookahead set. However, if we are
to store the full history of each tag, we'll need this intermediate
version in spite of the fact that it is overwritten on the next
transition.
re2c/src/dfa/closure.cc
re2c/src/dfa/closure.h
re2c/src/dfa/determinization.cc
re2c/src/dfa/dump.cc
re2c/src/dfa/dump.h
re2c/src/dfa/find_state.cc
re2c/src/dfa/find_state.h