Changeset 72 for trunk/Compiler/UAnalyzer.pas
- Timestamp:
- Aug 1, 2012, 12:16:08 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/UAnalyzer.pas
r70 r72 8 8 uses 9 9 SysUtils, Variants, Classes, Contnrs, 10 Dialogs, USourceCode , FileUtil, SpecializedList;10 Dialogs, USourceCodePascal, FileUtil, SpecializedList; 11 11 12 12 type … … 53 53 CodeStreamPosition: Integer; 54 54 CodePosition: TPoint; 55 SourceCode : string;55 SourceCode2: string; 56 56 Tokens: TObjectList; // TObjectList<TToken> 57 57 TokenIndex: Integer; … … 242 242 Tokens.Clear; 243 243 TokenIndex := 0; 244 while CodeStreamPosition < Length(SourceCode ) do begin244 while CodeStreamPosition < Length(SourceCode2) do begin 245 245 NewToken := TToken.Create; 246 246 GetNextToken; … … 274 274 275 275 while True do begin 276 if CodeStreamPosition < Length(SourceCode ) then begin277 CurrentChar := SourceCode [CodeStreamPosition];276 if CodeStreamPosition < Length(SourceCode2) then begin 277 CurrentChar := SourceCode2[CodeStreamPosition]; 278 278 end else begin 279 279 FNextToken := '';
Note:
See TracChangeset
for help on using the changeset viewer.