Changeset 57 for trunk/Compiler/Analyze


Ignore:
Timestamp:
Jul 16, 2012, 4:11:47 PM (12 years ago)
Author:
chronos
Message:
  • Modified: Testing interpretter.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/Analyze/UAnalyzerPascal.pas

    r51 r57  
    150150          ReadToken;
    151151        end;
     152        ShowMessage(IntToStr(TExpression(Expressions.Last).SubItems.Count) + ' ' + TExpression(Expressions.Last).OperatorName);
     153        if Assigned(TExpression(Expressions.First)) then
     154          ShowMessage('First ' + IntToStr(Integer(TExpression(Expressions.Last).SubItems.First)));
     155        if Assigned(TExpression(Expressions.Last)) then
     156          ShowMessage('Last ' + IntToStr(Integer(TExpression(Expressions.Last).SubItems.Last)));
    152157      end;
    153158
     
    169174        Assign(TExpression(TExpression(Expressions.First).SubItems.Last));
    170175      TExpression(Expressions.First).SubItems.Last := nil;
    171       //ShowMessage(IntToStr(Expressions.Count));
    172176      if Expressions.Count > 1 then
    173177        TExpression(Expressions[1]).SubItems.First := nil;
Note: See TracChangeset for help on using the changeset viewer.