]> granicus.if.org Git - re2c/commit
Continued adding "--skeleton" switch.
authorUlya Trofimovich <skvadrik@gmail.com>
Mon, 6 Apr 2015 04:11:56 +0000 (05:11 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Mon, 6 Apr 2015 04:11:56 +0000 (05:11 +0100)
commit36abdd25de44092b2d1678a84abc9ff3e85d4689
tree9103532a240a4d5c2a2b132605ea6c40ce9597d3
parent30806635b56cb48000d913a14ade372ba253e00c
Continued adding "--skeleton" switch.

Moved input-string-generation-from-DFA algorithm earlier, to the
point when DFA is barely constructed and contains only 'Match'
states and starting state (no saving, accepting or split states).
This simplifies string generation: if destination state is NULL,
it is either next to final state (if all spans lead to it), or
default state (if some spans lead to other states).
re2c/bootstrap/parser.cc
re2c/code.cc
re2c/go.h
re2c/parser.y