summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Estes <wlestes@users.sourceforge.net>2001-09-20 19:27:08 +0000
committerWill Estes <wlestes@users.sourceforge.net>2001-09-20 19:27:08 +0000
commit0b3f1684a0c5e4b7698b2100103e963af43cc41c (patch)
tree1099297a1117baeda9a0f362c7e4a2e33c168913
parentac03a4c63a311e35b274f90b01fe668b89611584 (diff)
reentrant and non-reentrant scanners share the same yywrap MACRO. millaway
-rw-r--r--main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.c b/main.c
index 04cf2cc..fd5bbc5 100644
--- a/main.c
+++ b/main.c
@@ -1019,10 +1019,7 @@ _( "Variable trailing context rules entail a large performance penalty\n" ) );
if ( ! do_yywrap )
{
- if( reentrant )
- outn( "\n#define yywrap(YY_ONLY_ARG) 1" );
- else
- outn( "\n#define yywrap(n) 1" );
+ outn( "\n#define yywrap(n) 1" );
outn( "#define YY_SKIP_YYWRAP" );
}