Skip to content

Commit 97d2b92

Browse files
author
Thomas G. Lockhart
committed
Add flag to supress one compiler warning regarding unused "unput" function
in flex-specific code.
1 parent e9c3105 commit 97d2b92

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/parser/scan.l

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.27 1997/10/30 16:36:39 thomas Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.28 1997/11/14 15:43:27 thomas Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -44,6 +44,7 @@ extern char *parseCh;
4444
#if defined(FLEX_SCANNER)
4545
/* MAX_PARSE_BUFFER is defined in miscadmin.h */
4646
#define YYLMAX MAX_PARSE_BUFFER
47+
#define YY_NO_UNPUT
4748
extern int myinput(char* buf, int max);
4849
#undef YY_INPUT
4950
#define YY_INPUT(buf,result,max) {result = myinput(buf,max);}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy