From f103cdb81d1c81ce0082d031421361b937f259fb Mon Sep 17 00:00:00 2001 From: nectar Date: Tue, 6 Jan 2004 18:54:55 +0000 Subject: Work around a `label defined but not used' warning in *generated* code. --- usr.bin/lex/gen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.bin/lex') 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( -- cgit v1.1