Module Name: src
Committed By: christos
Date: Mon Oct 26 19:23:33 UTC 2009
Modified Files:
src/external/bsd/flex/dist: gen.c
Log Message:
avoid unused label warning
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/flex/dist/gen.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/flex/dist/gen.c
diff -u src/external/bsd/flex/dist/gen.c:1.2 src/external/bsd/flex/dist/gen.c:1.3
--- src/external/bsd/flex/dist/gen.c:1.2 Mon Oct 26 00:27:15 2009
+++ src/external/bsd/flex/dist/gen.c Mon Oct 26 15:23:33 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: gen.c,v 1.2 2009/10/26 04:27:15 christos Exp $ */
+/* $NetBSD: gen.c,v 1.3 2009/10/26 19:23:33 christos Exp $ */
/* gen - actual generation (writing) of flex scanners */
@@ -508,7 +508,9 @@
indent_puts ("yy_current_state = *--YY_G(yy_state_ptr);");
indent_puts ("YY_G(yy_lp) = yy_accept[yy_current_state];");
+ outn ("#ifdef YY_USES_REJECT");
outn ("find_rule: /* we branch to this label when backing up */");
+ outn ("#endif");
indent_puts
("for ( ; ; ) /* until we find what rule we matched */");