Re: pgsql: Enable script to generate preproc.y in build process.
От | Tom Lane |
---|---|
Тема | Re: pgsql: Enable script to generate preproc.y in build process. |
Дата | |
Msg-id | 7628.1226787827@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: pgsql: Enable script to generate preproc.y in build process. ("Alex Hunsaker" <badalex@gmail.com>) |
Ответы |
Re: pgsql: Enable script to generate preproc.y in build process.
|
Список | pgsql-committers |
"Alex Hunsaker" <badalex@gmail.com> writes: > "/usr/bin/perl" ./parse.pl . < ../../../../src/backend/parser/gram.y > > preproc.y > bison -d -o preproc.c preproc.y > gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing > -fwrapv -g -DECPG_COMPILE -I../include > -I../../../../src/interfaces/ecpg/include -I. -DMAJOR_VERSION=4 > -DMINOR_VERSION=5 -DPATCHLEVEL=0 -I../../../../src/include > -D_GNU_SOURCE -c -o preproc.o preproc.c > preproc.y: In function 'base_yyparse': > preproc.y:11201: error: expected ';' before '}' token > make[4]: *** [preproc.o] Error 1 Huh ... what gcc and bison versions are you using? The code is certainly wrong but I wonder why nobody else saw this error. > The fix to preproc.y is below, but I don't immediately see how to fix parse.pl That's cause the problem is in ecpg.trailer. I see Andrew got it already. regards, tom lane
В списке pgsql-committers по дате отправления: