diff options
author | Mariusz PluciĆski <mplucinski@mplucinski.com> | 2014-07-25 18:36:05 +0200 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2014-11-26 15:31:53 -0500 |
commit | f2aa9e112fd0753e62630d811db5b78475d668d4 (patch) | |
tree | 2f9b2e13f5daff5ca97bd5539efd920ea74cae23 /src/gen.c | |
parent | a13574440bbda9c07e3a4dab5ca187efa0095d64 (diff) |
Fix `label unused` warning
Diffstat (limited to 'src/gen.c')
-rw-r--r-- | src/gen.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -528,11 +528,8 @@ void gen_find_action (void) indent_puts ("yy_current_state = *--YY_G(yy_state_ptr);"); indent_puts ("YY_G(yy_lp) = yy_accept[yy_current_state];"); - if (!variable_trailing_context_rules) - outn ("m4_ifdef( [[M4_YY_USES_REJECT]],\n[["); - outn ("find_rule: /* we branch to this label when backing up */"); - if (!variable_trailing_context_rules) - outn ("]])\n"); + if(reject_really_used) + outn ("find_rule: /* we branch to this label when backing up */"); indent_puts ("for ( ; ; ) /* until we find what rule we matched */"); |