Module Name: src Committed By: christos Date: Tue Apr 6 17:39:47 UTC 2010
Modified Files: src/external/bsd/flex/dist: gen.c Log Message: use the m4 define not the cpp one for reject. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 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.5 src/external/bsd/flex/dist/gen.c:1.6 --- src/external/bsd/flex/dist/gen.c:1.5 Mon Nov 2 15:52:39 2009 +++ src/external/bsd/flex/dist/gen.c Tue Apr 6 13:39:47 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: gen.c,v 1.5 2009/11/02 20:52:39 christos Exp $ */ +/* $NetBSD: gen.c,v 1.6 2010/04/06 17:39:47 christos Exp $ */ /* gen - actual generation (writing) of flex scanners */ @@ -509,10 +509,10 @@ indent_puts ("YY_G(yy_lp) = yy_accept[yy_current_state];"); if (!variable_trailing_context_rules) - outn ("#ifdef YY_USES_REJECT"); + 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 ("#endif"); + outn ("]])\n"); indent_puts ("for ( ; ; ) /* until we find what rule we matched */");