]> granicus.if.org Git - re2c/commit
Allow trivial cycles (of length 1) in tag commands.
authorUlya Trofimovich <skvadrik@gmail.com>
Sun, 2 Jul 2017 08:05:29 +0000 (09:05 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Sun, 2 Jul 2017 08:05:29 +0000 (09:05 +0100)
commit7897755dc2943110698806239bf3ff9da232d94f
tree74e22ab5ccd5cb1a6d6eec727c3d42eecc96bdda
parentd09777244f5d767b78f4ce655e02cb36acf54df0
Allow trivial cycles (of length 1) in tag commands.

We forbid cycles of length 2 or more because they would need temporary
variable local to the basic block, which would complicate liveness
analysis. However, trivial cycles don't need a temporary.
re2c/src/dfa/find_state.cc
re2c/src/dfa/tcmd.cc