mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 09:53:17 +02:00
parentfpstruct: don't add vo_is_firstfield to first field of record
That flag is only for the first field of variant parts of records
This commit is contained in:
parent
60c95032fa
commit
76e3cfc38f
@ -1277,8 +1277,6 @@ implementation
|
||||
else
|
||||
fieldvardef:=vardef;
|
||||
result:=cfieldvarsym.create(symrealname,vs_value,fieldvardef,[]);
|
||||
if nestedvarsst.symlist.count=0 then
|
||||
include(tfieldvarsym(result).varoptions,vo_is_first_field);
|
||||
nestedvarsst.insertsym(result);
|
||||
trecordsymtable(nestedvarsst).addfield(tfieldvarsym(result),vis_public);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user