mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-11-05 02:07:22 +00:00
Don't allow the unary * operator to be applied to structs and unions.
This commit is contained in:
parent
4247eb2c91
commit
fa5974199d
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user