summaryrefslogtreecommitdiff
path: root/databases/monetdb/files/patch-monetdb5-extras-jaql-parser-jaql.y
blob: 380c0d874c34620b97a079de8dd4082869b6607c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- monetdb5/extras/jaql/parser/jaql.y.orig	2013-01-14 21:06:06.000000000 +0800
+++ monetdb5/extras/jaql/parser/jaql.y	2017-01-09 04:57:50.801797000 +0800
@@ -81,12 +81,10 @@
 
 
 %{
-#define YYLEX_PARAM j->scanner
-
 int jaqllex(YYSTYPE* lvalp, void *scanner);
 
 void
-jaqlerror(struct _jc* j, char const *msg)
+jaqlerror(struct _jc* j, char const *msg, char const *yy_)
 {
 	if (j->err[0] == '\0') {
 		char around[32];
@@ -114,6 +112,8 @@
 
 %}
 
+%parse-param {void *scanner}
+
 %%
 
 stmt: jaql ';'