]> granicus.if.org Git - re2c/commit
Fixed bug #145 "Values for enum YYCONDTYPE are not generated
authorUlya Trofimovich <skvadrik@gmail.com>
Fri, 24 Jun 2016 21:46:16 +0000 (22:46 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Sun, 30 Jul 2017 15:00:19 +0000 (16:00 +0100)
commitf3f08578ccc517a800c737a881610b145c898f9a
tree0e6f36ac212386d8724a2a3e9e7c9c31864db424
parente1c56a8e0737f40c50d289332518950d1fd2758f
Fixed bug #145 "Values for enum YYCONDTYPE are not generated
when default rules with conditions are used".

Default rule is handled in a special (delayed) way;
re2c uses different code for default rule than for normal rules.
This special code simply forgot to add condition name to the list
of conditions.

Thanks to sirzooro for bug report.
re2c/test/bug145.ci.c [new file with mode: 0644]
re2c/test/bug145.ci.re [new file with mode: 0644]