Module Name: src
Committed By: christos
Date: Wed Apr 7 16:14:07 UTC 2010
Modified Files:
src/external/bsd/flex/dist: scan.l
Log Message:
Rename the macro name so that the scanner does not get confused and thinks
it is using REJECT.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/flex/dist/scan.l
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/scan.l
diff -u src/external/bsd/flex/dist/scan.l:1.2 src/external/bsd/flex/dist/scan.l:1.3
--- src/external/bsd/flex/dist/scan.l:1.2 Mon Oct 26 00:27:15 2009
+++ src/external/bsd/flex/dist/scan.l Wed Apr 7 12:14:07 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: scan.l,v 1.2 2009/10/26 04:27:15 christos Exp $ */
+/* $NetBSD: scan.l,v 1.3 2010/04/07 16:14:07 christos Exp $ */
/* scan.l - scanner for flex input -*-C-*- */
@@ -83,9 +83,9 @@
for ( i = strlen( str ) - 1; i >= start; --i ) \
unput((str)[i])
-#define CHECK_REJECT(str) \
+#define CHECK_RE_JECT(str) \
if ( all_upper( str ) ) \
- reject = true;
+ reject = true
#define CHECK_YYMORE(str) \
if ( all_lower( str ) ) \
@@ -877,7 +877,7 @@
<CODEBLOCK,ACTION>{
"reject" {
ACTION_ECHO;
- CHECK_REJECT(yytext);
+ CHECK_RE_JECT(yytext);
}
"yymore" {
ACTION_ECHO;