]> granicus.if.org Git - re2c/commit
Fictive tags for right alt/cat must be added after adding all tags for left alt/cat.
authorUlya Trofimovich <skvadrik@gmail.com>
Sun, 24 Mar 2019 09:31:56 +0000 (09:31 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Sun, 24 Mar 2019 09:31:56 +0000 (09:31 +0000)
commitc1fcecefa490c4040532c55a6f09e49549f7b900
tree24001ec4b585513b18b463c6df6bda9ac5a9baa5
parent8d8f1767b6fa7df4790f4cb366b03f2f71d5da64
Fictive tags for right alt/cat must be added after adding all tags for left alt/cat.

Previous order was incorrect: fictive tags for both left and right
alternative or catenation were added before recursing into the right
alternative or catenation. This resulted in right fictive tags habving
higher precedence than left non-fictive tags.
src/regexp/ast_to_re.cc