projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18ad513
)
Allow BSD yacc and bison to compile pl code.
author
Bruce Momjian
<
[email protected]
>
Mon, 16 Aug 1999 19:55:46 +0000
(19:55 +0000)
committer
Bruce Momjian
<
[email protected]
>
Mon, 16 Aug 1999 19:55:46 +0000
(19:55 +0000)
src/pl/plpgsql/src/gram.y
patch
|
blob
|
blame
|
history
diff --git
a/src/pl/plpgsql/src/gram.y
b/src/pl/plpgsql/src/gram.y
index d9202c97c3c7592bdf5e9e5fe450d7efea92f1d1..67bb91a9316774b196a682777ddf7cd40275bbc1 100644
(file)
--- a/
src/pl/plpgsql/src/gram.y
+++ b/
src/pl/plpgsql/src/gram.y
@@
-40,7
+40,9
@@
#include "string.h"
#include "plpgsql.h"
-#include "pl_scan.c"
+#ifdef YYBISON
+#include "pl_scan.c" /* GNU bison wants it here */
+#endif
static PLpgSQL_expr *read_sqlstmt(int until, char *s, char *sqlstart);
static PLpgSQL_stmt *make_select_stmt(void);
@@
-1080,6
+1082,11
@@
lno :
%%
+#ifndef YYBISON
+#include "pl_scan.c" /* BSD yacc wants it here */
+#endif
+
+
PLpgSQL_expr *
plpgsql_read_expression (int until, char *s)
{