Changeset 67
- Timestamp:
- Jul 19, 2012, 8:44:08 AM (12 years ago)
- Location:
- trunk/Compiler
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/Analyze/UAnalyzerPascal.pas
r65 r67 155 155 try 156 156 Expressions := TListExpression.Create; 157 Expressions.OwnsObjects := False;158 157 Expressions.Add(TExpression.Create); 159 158 with SourceCode do begin … … 180 179 TExpression(Expressions[I - 1]).SubItems.Last := Expressions[I]; 181 180 TExpression(Expressions[I + 1]).SubItems.First := Expressions[I]; 181 Expressions.OwnsObjects := False; 182 Expressions[I] := nil; 183 Expressions.OwnsObjects := True; 182 184 Expressions.Delete(I); 183 185 end else Inc(I); 184 186 end; 185 187 end; 186 if Assigned(TExpression(Expressions.First).SubItems.Last) then 188 if Assigned(TExpression(Expressions.First).SubItems.Last) then begin 187 189 Assign(TExpression(TExpression(Expressions.First).SubItems.Last)); 190 SubItems.OwnsObjects := True; 191 TExpression(TExpression(Expressions.First).SubItems.Last).SubItems.OwnsObjects := False; 192 TExpression(Expressions.First).SubItems.Last.Free; 193 end; 188 194 TExpression(Expressions.First).SubItems.Last := nil; 189 195 if Expressions.Count > 1 then -
trunk/Compiler/TranspascalCompiler.lpk
r64 r67 72 72 </Item11> 73 73 <Item12> 74 <Filename Value="Target\GCC\UTargetGCC.pas"/> 75 <UnitName Value="UTargetGCC"/> 76 </Item12> 77 <Item13> 74 78 <Filename Value="Target\GCC\UProducerGCC.pas"/> 75 79 <UnitName Value="UProducerGCC"/> 76 </Item12>77 <Item13>78 <Filename Value="Target\GCC\UTargetGCC.pas"/>79 <UnitName Value="UTargetGCC"/>80 80 </Item13> 81 81 <Item14> -
trunk/Compiler/TranspascalCompiler.pas
r64 r67 10 10 UCompiler, USourceCode, UProducer, UAnalyzer, UTarget, UExecutor, 11 11 UAnalyzerPascal, UTargets, UProducerDynamicc, UProducerASM8051, 12 UTargetASM8051, U ProducerGCC, UTargetGCC, UProducerPascal, UTargetDelphi,12 UTargetASM8051, UTargetGCC, UProducerGCC, UProducerPascal, UTargetDelphi, 13 13 UTargetPHP, UTargetJava, UTargetXML, UTargetInterpretter, UTargetNASM, 14 14 LazarusPackageIntf;
Note:
See TracChangeset
for help on using the changeset viewer.