projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9350174
)
Fixed bug in handling of pointers to structs.
author
Michael Meskes
Fri, 16 Mar 2001 13:05:57 +0000
(13:05 +0000)
committer
Michael Meskes
Fri, 16 Mar 2001 13:05:57 +0000
(13:05 +0000)
src/interfaces/ecpg/preproc/variable.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/preproc/variable.c
b/src/interfaces/ecpg/preproc/variable.c
index d97ef59f4460ada08a6a3be1ba89504fb56e5b35..0c5749b7891e0c32bb63063e6b3aa73795c30fbc 100644
(file)
--- a/
src/interfaces/ecpg/preproc/variable.c
+++ b/
src/interfaces/ecpg/preproc/variable.c
@@
-78,7
+78,7
@@
find_struct(char *name, char *next)
if (c == '-')
{
- if (p->type->typ != ECPGt_
struct && p->type->typ != ECPGt_union
)
+ if (p->type->typ != ECPGt_
array
)
{
sprintf(errortext, "variable %s is not a pointer", name);
mmerror(ET_FATAL, errortext);