mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-08-15 07:27:27 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user