Changeset 32 for trunk/Target/UTargetDelphi.pas
- Timestamp:
- Feb 18, 2012, 8:44:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Target/UTargetDelphi.pas
r31 r32 13 13 14 14 TTargetDelphi = class(TTarget) 15 private 16 public 15 17 constructor Create; override; 16 18 procedure Compile; override; … … 42 44 Result := 1; 43 45 if Optimization = coNormal then 44 while ((I + 1) <= Length( Source)) and (Source[I + 1] = C) do begin46 while ((I + 1) <= Length(FSource)) and (FSource[I + 1] = C) do begin 45 47 Inc(Result); 46 48 Inc(I) … … 64 66 AddLine('Pos := 0;'); 65 67 I := 1; 66 while (I <= Length( Source)) do begin67 case Source[I] of68 while (I <= Length(FSource)) do begin 69 case FSource[I] of 68 70 '>': begin 69 71 Sum := CheckOccurence('>');
Note:
See TracChangeset
for help on using the changeset viewer.