mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Add flag to supress one compiler warning regarding unused "unput" function
in flex-specific code.
This commit is contained in:
parent
e9c31055e6
commit
97d2b92384
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.27 1997/10/30 16:36:39 thomas Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.28 1997/11/14 15:43:27 thomas Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -44,6 +44,7 @@ extern char *parseCh;
|
||||
#if defined(FLEX_SCANNER)
|
||||
/* MAX_PARSE_BUFFER is defined in miscadmin.h */
|
||||
#define YYLMAX MAX_PARSE_BUFFER
|
||||
#define YY_NO_UNPUT
|
||||
extern int myinput(char* buf, int max);
|
||||
#undef YY_INPUT
|
||||
#define YY_INPUT(buf,result,max) {result = myinput(buf,max);}
|
||||
|
Loading…
x
Reference in New Issue
Block a user