Finally separated parsing, consistensy checking and after-parse transformation.
authorUlya Trofimovich <skvadrik@gmail.com>
Tue, 27 Dec 2016 17:00:09 +0000 (17:00 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Tue, 27 Dec 2016 17:09:21 +0000 (17:09 +0000)
commit455a6e00352261dcf1fbe8de4da9e260a8eb71d5
tree3f66e300ccf55177b6bf159ee3eee89a27670f3d
parent7d26632d2e9525082bdde755329adbafb1a60f26
Finally separated parsing, consistensy checking and after-parse transformation.

Updates in test results are caused by the changed order of condition
compilation, see commit b7bbbf471778b487d0717c85a5e586b595e495ec.
Changes do not affect code generation, only the error messages.
22 files changed:
re2c/bootstrap/src/parse/lex.cc
re2c/bootstrap/src/parse/parser.cc
re2c/bootstrap/src/parse/y.tab.h
re2c/src/ir/compile.cc
re2c/src/ir/compile.h
re2c/src/ir/nfa/counters.cc
re2c/src/ir/nfa/init_rules.cc
re2c/src/ir/nfa/nfa.cc
re2c/src/ir/nfa/nfa.h
re2c/src/ir/nfa/regexps2nfa.cc
re2c/src/ir/regexp/nullable.cc
re2c/src/ir/regexp/regexp.cc
re2c/src/ir/regexp/regexp.h
re2c/src/ir/regexp/split_charset.cc
re2c/src/parse/parser.h
re2c/src/parse/parser.ypp
re2c/test/cond_error_09.c.c
re2c/test/php20150211_zend_ini_scanner.c--emit-dot--flex-syntax--case-inverted.c
re2c/test/php20150211_zend_ini_scanner.igcd--flex-syntax--case-inverted.c
re2c/test/php20150211_zend_ini_scanner.igcd--skeleton--flex-syntax--case-inverted.c
re2c/test/php20150211_zend_ini_scanner_trimmed.ic--flex-syntax.c
re2c/test/php20150211_zend_ini_scanner_trimmed.icwb--flex-syntax.c