mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Fixed some bugs in C language parsing.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
all: test1 test2 test3 test4 perftest dyntest dyntest2 test_notice test_code100
|
||||
all: test1 test2 test3 test4 perftest dyntest dyntest2 test_notice test_code100 test_init
|
||||
|
||||
#LDFLAGS=-g -I /usr/local/pgsql/include -L/usr/local/pgsql/lib -lecpg -lpq
|
||||
LDFLAGS=-g -I ../include -I /usr/include/postgresql -L /usr/lib -lecpg -lpq
|
||||
|
@ -31,14 +31,13 @@ int g=fb(2);
|
||||
int i=3^1;
|
||||
int j=1?1:2;
|
||||
|
||||
/*int e=y->member; /* compile error */
|
||||
/*int c=10>>2; /* compile error */
|
||||
/*bool h=2||1; /* compile error */
|
||||
long long iax;
|
||||
int e=y->member;
|
||||
int c=10>>2;
|
||||
bool h=2||1;
|
||||
long iay /* = 1L */ ;
|
||||
long long iax /* = 40000000000LL */ ;
|
||||
exec sql end declare section;
|
||||
|
||||
iax = 40000000000LL;
|
||||
|
||||
/* not working */
|
||||
int f=fa();
|
||||
|
||||
|
Reference in New Issue
Block a user