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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user