]> granicus.if.org Git - re2c/commit
Continued adding "--skeleton" switch.
authorUlya Trofimovich <skvadrik@gmail.com>
Mon, 6 Apr 2015 15:41:49 +0000 (16:41 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Mon, 6 Apr 2015 15:41:49 +0000 (16:41 +0100)
commitea088ac388b53efbf2228c2c5bf7ad8ff01817b2
tree76d11b719719fadc853bc2c9f99d27c21598d8c8
parent36abdd25de44092b2d1678a84abc9ff3e85d4689
Continued adding "--skeleton" switch.

Track exact number of characters to be consumed on each input
string. Note that it's not equal to string length, since many
strings end up with characters from default transitions: on such
strings lexer must rollback to the latest backtracking point (that
is, the latest accepting state).
re2c/code.cc