Changeset 150 for branches/easy compiler/USourceGenerator.pas
- Timestamp:
- Jan 18, 2018, 2:36:23 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/easy compiler/USourceGenerator.pas
r149 r150 91 91 end else 92 92 if Name = 'assign' then begin 93 if TSourceReference(Parameters[0]) is TSourceReferenceArray then 94 Result := Result + IndentStr + 'SetLength(' + TSourceReferenceArray(Parameters[0]).ArrayRef.Name + 95 ', ' + GenerateRef(TSourceReferenceArray(Parameters[0]).Index) + ' + 1);' + LineEnding; 93 96 Result := Result + IndentStr + GenerateRef(TSourceReference(Parameters[0])) + ' := ' + 94 97 GenerateRef(TSourceReference(Parameters[1])) + ';' + LineEnding;
Note:
See TracChangeset
for help on using the changeset viewer.