mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-02-08 02:30:59 +00:00
Fix bug that could cause generation of invalid sym files.
When these invalid sym files were used during subsequent compiles, certain type pointers (for what should be const-qualified struct or union types) could be left uninitialized, or possibly initialized pointing to different types. This could result in spurious errors or potentially in other problems.
This commit is contained in:
parent
ef099f4f83
commit
62757acdb1
@ -3030,6 +3030,7 @@ if isconstant then begin {handle a constant type}
|
||||
size := typeSpec^.size;
|
||||
kind := definedType;
|
||||
dType := typeSpec;
|
||||
saveDisp := 0;
|
||||
end; {with}
|
||||
end {if}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user