Changeset 33 for trunk/Target/UTargetPHP.pas
- Timestamp:
- Feb 18, 2012, 11:08:44 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Target/UTargetPHP.pas
r32 r33 48 48 Result := 1; 49 49 if Optimization = coNormal then 50 while ((I + 1) <= Length(FSource )) and (FSource[I + 1] = C) do begin50 while ((I + 1) <= Length(FSourceCode)) and (FSourceCode[I + 1] = C) do begin 51 51 Inc(Result); 52 52 Inc(I) … … 56 56 begin 57 57 Indent := 0; 58 Output:= '';58 FTargetCode := ''; 59 59 60 60 AddLine('<?php // ' + ProgramName); … … 62 62 AddLine('$Memory = str_repeat("\0", 30000);'); 63 63 AddLine('$Position = 0;'); 64 for I := 1 to Length(FSource ) do begin65 case FSource [I] of64 for I := 1 to Length(FSourceCode) do begin 65 case FSourceCode[I] of 66 66 '>': begin 67 67 Sum := CheckOccurence('>');
Note:
See TracChangeset
for help on using the changeset viewer.