]> granicus.if.org Git - re2c/commit
Keep fixed and variable tags separately.
authorUlya Trofimovich <skvadrik@gmail.com>
Mon, 28 Nov 2016 15:32:46 +0000 (15:32 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Mon, 28 Nov 2016 15:39:06 +0000 (15:39 +0000)
commit9c3c158e83ab673ac3693463f75bc7e3d76fd9b9
tree0c067d22881fed5e0fcbb9111dc7bdb9c381b846
parent16d8045faa4a69d5a1f2d885afbc265cb68a4e40
Keep fixed and variable tags separately.

This commit reverts commit de3f9e70a45c42fcb848a347ece3a727b8fb983e:
    Keep fixed and variable tags together in one array.
Optimizations of variable tags get more complicated and fixed tags
should not get in the way.

This commit also drops check for tags in trailing context: there's
nothing special about them; no technical reason to forbid them.
28 files changed:
re2c/src/codegen/emit_action.cc
re2c/src/codegen/emit_dfa.cc
re2c/src/ir/adfa/adfa.cc
re2c/src/ir/adfa/adfa.h
re2c/src/ir/dfa/cfg/cfg.cc
re2c/src/ir/dfa/cfg/cfg.h
re2c/src/ir/dfa/cfg/liveanal.cc
re2c/src/ir/dfa/cfg/rename.cc
re2c/src/ir/dfa/closure.cc
re2c/src/ir/dfa/determinization.cc
re2c/src/ir/dfa/dfa.h
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/rule.h
re2c/src/ir/skeleton/generate_code.cc
re2c/src/ir/skeleton/generate_data.cc
re2c/src/ir/skeleton/skeleton.cc
re2c/src/ir/skeleton/skeleton.h
re2c/src/ir/tag.cc
re2c/src/ir/tag.h
re2c/src/ir/tcmd.cc
re2c/src/ir/tcmd.h
re2c/test/tags/fix4.i--tags.c
re2c/test/tags/fix4_trail.i--tags.c
re2c/test/tags/fix5.i--tags.c
re2c/test/tags/fix5_trail.i--tags.c