]> granicus.if.org Git - re2c/commit
Moved remaining option-sensitive code away from AST.
authorUlya Trofimovich <skvadrik@gmail.com>
Mon, 6 Mar 2017 08:54:10 +0000 (08:54 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Mon, 6 Mar 2017 08:54:10 +0000 (08:54 +0000)
commite80bf0bdd77dc70a40ba60d0b37cb9685a52f75e
treedb49192ad29fa84465282a066651b3b6df2ef483
parent73f87e144e5a10ed5a447859cc0e9aa7065ad0b6
Moved remaining option-sensitive code away from AST.

AST must be immutable and independent of options: it may be shared among
different blocks and conditions and reused with different options.
16 files changed:
re2c/bootstrap/src/ast/lex.cc
re2c/src/ast/ast.cc
re2c/src/ast/ast.h
re2c/src/ast/lex.re
re2c/src/ast/scanner.h
re2c/src/re/ast_to_re.cc
re2c/test/error10.c
re2c/test/unicode_blocks.8--encoding-policy(fail).c
re2c/test/unicode_blocks.u--encoding-policy(fail).c
re2c/test/unicode_blocks.x--encoding-policy(fail).c
re2c/test/unicode_group_C.8--encoding-policy(fail).c
re2c/test/unicode_group_C.u--encoding-policy(fail).c
re2c/test/unicode_group_C.x--encoding-policy(fail).c
re2c/test/unicode_group_Cs.8--encoding-policy(fail).c
re2c/test/unicode_group_Cs.u--encoding-policy(fail).c
re2c/test/unicode_group_Cs.x--encoding-policy(fail).c