summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 27db287)
raw | patch | inline | side by side (parent: 27db287)
author | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Sat, 26 Aug 2017 17:39:05 +0000 (20:39 +0300) | ||
committer | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Sat, 26 Aug 2017 18:33:01 +0000 (21:33 +0300) |
src/shared/xdynrec.pas | patch | blob | history |
diff --git a/src/shared/xdynrec.pas b/src/shared/xdynrec.pas
index 2d8f430e961b42869074883a327fb405fa8e0f90..a5f3623823add801a86fba14851c813d5de0c2d0 100644 (file)
--- a/src/shared/xdynrec.pas
+++ b/src/shared/xdynrec.pas
mDefaultValueSet: Boolean;
mOmitDef: Boolean;
mInternal: Boolean;
- // default values
+ mNegBool: Boolean;
+ mBitSetUnique: Boolean; // bitset can contain only one value
+ // default value
mDefSVal: AnsiString;
- mEBS: TEBS;
+ mEBS: TEBS; // complex type type
mEBSTypeName: AnsiString; // name of enum, bitset or record
- mBitSetUnique: Boolean; // bitset can contain only one value
- mNegBool: Boolean;
// temp
mDefId: AnsiString;
end;
+ // "value" header record contains TList fields, with name equal to record type
TDynRecord = class
private
mOwner: TDynMapDef;
mRecRef := rc;
mDefined := true;
mOwner.mOwner.addRecordByType(mEBSTypeName, rc, curheader);
+ pr.eatTT(pr.TTSemi); // hack: allow (but don't require) semicolon after inline records
exit;
end;
pr.expectTT(pr.TTBegin);