Don't allow the unary * operator to be applied to structs and unions.

This commit is contained in:
Stephen Heumann 2016-10-15 23:51:58 -05:00
parent 4247eb2c91
commit fa5974199d

View File

@ -3488,7 +3488,7 @@ case tree^.token.kind of
(lType^.dType^.kind in [structType,unionType]))) then
Error(79);
end {if}
else if not (lType^.kind in [structType,unionType]) then
else
Error(79);
end; {case uasterisk}