]> granicus.if.org Git - re2c/commit
Now code generation can handle zero-offset fixed tags with generic API.
authorUlya Trofimovich <skvadrik@gmail.com>
Fri, 3 Mar 2017 01:47:03 +0000 (01:47 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Fri, 3 Mar 2017 01:47:03 +0000 (01:47 +0000)
commit4fe8e273b8af6cbd6420e9466d49008051dc3c01
tree4c94908bc1b9956dfd00651d059ae3920215da1c
parent7ec3c01eb4fa8251cb1481d39c6270bf589553a7
Now code generation can handle zero-offset fixed tags with generic API.

We'll need this for POSIX captures: in the prsence of orbit tag,
opening tag is needed only for disambiguation; after determinization
we can pretend that it is fixed on orbit tag with zero offset.
This will save some time and space on tag optimizations and maybe
reduce the number of tag variables.
re2c/src/codegen/emit_action.cc
re2c/src/ir/nfa/dump.cc
re2c/src/ir/re/fixed_tags.cc
re2c/src/ir/re/nullable.cc
re2c/src/ir/tag.h