mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-08-10 22:24:59 +00:00
Don't allow the unary * operator to be applied to structs and unions.
This commit is contained in:
@@ -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}
|
||||
|
||||
|
Reference in New Issue
Block a user