Skip to content
Snippets Groups Projects
Commit 90c1e2cc authored by Michael Meskes's avatar Michael Meskes
Browse files

Fixed bug in handling of pointers to structs.

parent 93501745
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment