diff options
Diffstat (limited to 'src/interfaces')
| -rw-r--r-- | src/interfaces/ecpg/preproc/pgc.l | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/src/interfaces/ecpg/preproc/pgc.l b/src/interfaces/ecpg/preproc/pgc.l index 9ecbc23cacb..20f08b6182a 100644 --- a/src/interfaces/ecpg/preproc/pgc.l +++ b/src/interfaces/ecpg/preproc/pgc.l @@ -12,7 +12,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.97 2002/07/20 08:24:18 meskes Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.98 2002/07/30 16:33:08 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -26,12 +26,6 @@ #include "extern.h" #include "preproc.h" -/* some versions of lex define this as a macro */ -#if defined(yywrap) -#undef yywrap -#endif /* yywrap */ - -#define YY_NO_UNPUT extern YYSTYPE yylval; @@ -75,7 +69,13 @@ static struct _if_value %} +%option 8bit +%option never-interactive +%option nounput +%option noyywrap + %option yylineno + %s C SQL incl def def_ident /* @@ -945,10 +945,3 @@ addlitchar(unsigned char ychar) literallen += 1; literalbuf[literallen] = '\0'; } - -int -yywrap(void) -{ - return(1); -} - |
