Ignore:
Timestamp:
Aug 1, 2012, 12:16:08 PM (12 years ago)
Author:
chronos
Message:
  • Added: Introduced concept of graph of source file set converters similar to IntToStr, StrToInt, FloatToStr, StrToFloat, e.g.
  • Modified: Some target definitions transformed to loadable modules.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/UAnalyzer.pas

    r70 r72  
    88uses
    99  SysUtils, Variants, Classes, Contnrs,
    10   Dialogs, USourceCode, FileUtil, SpecializedList;
     10  Dialogs, USourceCodePascal, FileUtil, SpecializedList;
    1111
    1212type
     
    5353    CodeStreamPosition: Integer;
    5454    CodePosition: TPoint;
    55     SourceCode: string;
     55    SourceCode2: string;
    5656    Tokens: TObjectList; // TObjectList<TToken>
    5757    TokenIndex: Integer;
     
    242242  Tokens.Clear;
    243243  TokenIndex := 0;
    244   while CodeStreamPosition < Length(SourceCode) do begin
     244  while CodeStreamPosition < Length(SourceCode2) do begin
    245245    NewToken := TToken.Create;
    246246    GetNextToken;
     
    274274
    275275    while True do begin
    276       if CodeStreamPosition < Length(SourceCode) then begin
    277         CurrentChar := SourceCode[CodeStreamPosition];
     276      if CodeStreamPosition < Length(SourceCode2) then begin
     277        CurrentChar := SourceCode2[CodeStreamPosition];
    278278      end else begin
    279279        FNextToken := '';
Note: See TracChangeset for help on using the changeset viewer.