Changeset 32 for trunk/Target/UTargetC.pas
- Timestamp:
- Feb 18, 2012, 8:44:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Target/UTargetC.pas
r31 r32 13 13 14 14 TTargetC = class(TTarget) 15 private 16 public 15 17 constructor Create; override; 16 18 procedure Compile; override; … … 48 50 Result := 1; 49 51 if Optimization = coNormal then 50 while ((I + 1) <= Length( Source)) and (Source[I + 1] = C) do begin52 while ((I + 1) <= Length(FSource)) and (FSource[I + 1] = C) do begin 51 53 Inc(Result); 52 54 Inc(I) … … 69 71 AddLine('Pos = 0;'); 70 72 I := 1; 71 while (I <= Length( Source)) do begin72 case Source[I] of73 while (I <= Length(FSource)) do begin 74 case FSource[I] of 73 75 '>': begin 74 76 Sum := CheckOccurence('>');
Note:
See TracChangeset
for help on using the changeset viewer.