diff options
author | nectar <nectar@FreeBSD.org> | 2004-01-06 18:54:55 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2004-01-06 18:54:55 +0000 |
commit | f103cdb81d1c81ce0082d031421361b937f259fb (patch) | |
tree | eaf40d971f4a2ad8c2d525e1604d5e6380c868af /usr.bin/lex/gen.c | |
parent | 34b6220e44d61a606965e4cc2c081fbab2e29eeb (diff) | |
download | FreeBSD-src-f103cdb81d1c81ce0082d031421361b937f259fb.zip FreeBSD-src-f103cdb81d1c81ce0082d031421361b937f259fb.tar.gz |
Work around a `label defined but not used' warning in *generated* code.
Diffstat (limited to 'usr.bin/lex/gen.c')
-rw-r--r-- | usr.bin/lex/gen.c | 2 |
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( |