Fix compile of plpgsql by adding 'extern int yylineno.'
authorBruce Momjian <bruce@momjian.us>
Wed, 26 May 1999 20:55:06 +0000 (20:55 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 26 May 1999 20:55:06 +0000 (20:55 +0000)
src/pl/plpgsql/src/scan.l

index 838d8facd3c7daf27e984c7b2432607a5005efd9..8887050c064371ab117af961e0fe35da511264e5 100644 (file)
@@ -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)
 %}