]> granicus.if.org Git - re2c/commit
Continued adding "--skeleton" switch.
authorUlya Trofimovich <skvadrik@gmail.com>
Wed, 8 Apr 2015 11:58:59 +0000 (12:58 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Wed, 8 Apr 2015 11:58:59 +0000 (12:58 +0100)
commitaf34861d0a0cba6ac807c49b70db77430eeddb2e
tree91f6d9128211cad1d2beb18c551d398b1a15b001
parentdddf15692a146a73da80f16bf81eb318c41a8222
Continued adding "--skeleton" switch.

Use a separate DFA-like structure for DFA skeleton. This allows
to optimize skeleton states for fast traversal (group transitions
by destination state) and avoid messing with the original DFA.

Added 'count' method to estimate the the amount of data that will
be generated (it worked too slow for the origianl DFA with
ungrouped transitions).
re2c/Makefile.am
re2c/actions.cc
re2c/code.cc
re2c/dfa.cc
re2c/dfa.h
re2c/skeleton.cc [new file with mode: 0644]
re2c/skeleton.h [new file with mode: 0644]