From 619602997dd1384a6eb82face17e3225fc508e09 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pl/plpgsql/src/scan.l b/src/pl/plpgsql/src/scan.l index 838d8facd3..8887050c06 100644 --- a/src/pl/plpgsql/src/scan.l +++ b/src/pl/plpgsql/src/scan.l @@ -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) %} -- 2.39.5