summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/lex/gen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/lex/gen.c b/usr.bin/lex/gen.c
index 0e20544..7ccf4da 100644
--- a/usr.bin/lex/gen.c
+++ b/usr.bin/lex/gen.c
@@ -283,6 +283,8 @@ void gen_find_action()
indent_puts( "yy_lp = yy_accept[yy_current_state];" );
outn(
+ "goto find_rule; /* avoid `defined but not used' warning */");
+ outn(
"find_rule: /* we branch to this label when backing up */" );
indent_puts(
OpenPOWER on IntegriCloud