Skip to content

Commit 26fb87d

Browse files
committed
Fix compile of plpgsql by adding 'extern int yylineno.'
1 parent bf09f8a commit 26fb87d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pl/plpgsql/src/scan.l

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* procedural language
55
*
66
* IDENTIFICATION
7-
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/scan.l,v 1.2 1999/01/28 11:48:31 wieck Exp $
7+
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/scan.l,v 1.3 1999/05/26 20:55:06 momjian Exp $
88
*
99
* This software is copyrighted by Jan Wieck - Hamburg.
1010
*
@@ -42,6 +42,8 @@ static int scanner_functype;
4242
static int scanner_typereported;
4343
int plpgsql_SpaceScanned = 0;
4444

45+
extern int yylineno;
46+
4547
static void plpgsql_input(char *buf, int *result, int max);
4648
#define YY_INPUT(buf,res,max) plpgsql_input(buf, &res, max)
4749
%}

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