fixed some problems:

- removed null-reference in illegal use of pointers in constant expressions
- FOR-loops that count downwards did not work
- POINTER TO mechanism changed; works better now
This commit is contained in:
ceriel
1988-11-15 14:45:59 +00:00
parent 090f27251e
commit f1245e2e00
8 changed files with 86 additions and 49 deletions

View File

@@ -161,7 +161,8 @@ ChkArrow(expp)
return ex_error(expp, "illegal operand type");
}
expp->nd_type = RemoveEqual(PointedtoType(tp));
if ((tp = RemoveEqual(PointedtoType(tp))) == 0) tp = error_type;
expp->nd_type = tp;
return 1;
}