mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-06-25 16:29:56 +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;
|
goto 1;
|
||||||
end; {if}
|
end; {if}
|
||||||
Match(dotch, 35);
|
Match(dotch, 35);
|
||||||
if token.kind = ident then begin
|
if token.kind in [ident,typedef] then begin
|
||||||
ip := tp^.fieldList;
|
ip := tp^.fieldList;
|
||||||
done := false;
|
done := false;
|
||||||
while (ip <> nil) and not done do
|
while (ip <> nil) and not done do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user