mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-01-30 04:33:17 +00:00
Allow designated initialization of fields named the same as typedefs.
They are in separate name spaces, so this should be permitted.
This commit is contained in:
parent
8ad58b0de7
commit
48efd462ef
@ -2623,7 +2623,7 @@ var
|
||||
goto 1;
|
||||
end; {if}
|
||||
Match(dotch, 35);
|
||||
if token.kind = ident then begin
|
||||
if token.kind in [ident,typedef] then begin
|
||||
ip := tp^.fieldList;
|
||||
done := false;
|
||||
while (ip <> nil) and not done do
|
||||
|
Loading…
x
Reference in New Issue
Block a user