From 26fb87d37e9d1a501c787527515e269ea6e96e4b Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 26 May 1999 20:55:06 +0000 Subject: [PATCH] Fix compile of plpgsql by adding 'extern int yylineno.' --- src/pl/plpgsql/src/scan.l | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pl/plpgsql/src/scan.l b/src/pl/plpgsql/src/scan.l index b408b5139b..a0f3766beb 100644 --- a/src/pl/plpgsql/src/scan.l +++ b/src/pl/plpgsql/src/scan.l @@ -4,7 +4,7 @@ * procedural language * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/scan.l,v 1.2 1999/01/28 11:48:31 wieck Exp $ + * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/scan.l,v 1.3 1999/05/26 20:55:06 momjian Exp $ * * This software is copyrighted by Jan Wieck - Hamburg. * @@ -42,6 +42,8 @@ static int scanner_functype; static int scanner_typereported; int plpgsql_SpaceScanned = 0; +extern int yylineno; + static void plpgsql_input(char *buf, int *result, int max); #define YY_INPUT(buf,res,max) plpgsql_input(buf, &res, max) %}