]> granicus.if.org Git - re2c/commit
Don't generate 'YYFILL' calls when EOF rule is used with 're2c:yyfill:enable = 0...
authorUlya Trofimovich <skvadrik@gmail.com>
Thu, 18 Jul 2019 16:26:27 +0000 (17:26 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Thu, 18 Jul 2019 16:26:27 +0000 (17:26 +0100)
commit34b7df3ae8cabd250c93a3b2f88ac43ec0bb82b3
tree289442dafc99b751d4492fcf894b66ca8579550c
parent7ecd5e8e1a12754bc0dae720c0055467fc56e7c7
Don't generate 'YYFILL' calls when EOF rule is used with 're2c:yyfill:enable = 0;' configuration.

Note: in the non-EOF-rule case 're2c:yyfill:enable = 0;' results in suppression
of the whole 'YYLIMIT' check together with 'YYFILL' call. In case of EOF rule,
however, we are not bound by backward compatibility and can do a more logical
thing.
src/codegen/emit_action.cc