Ignore:
Timestamp:
Apr 16, 2020, 7:40:38 PM (5 years ago)
Author:
chronos
Message:
  • Fixed: Memory leaks.
Location:
branches/interpreter2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/interpreter2

    • Property svn:ignore set to
      lib
      interpreter
      interpreter.lps
      interpreter.res
      heaptrclog.trc
  • branches/interpreter2/UExecutor.pas

    r200 r201  
    266266  Expression: TExpression): string;
    267267begin
    268   if Assigned(Expression.Variable) then begin
    269     Result := Block.Variables.SearchByVariable(Expression.Variable).Value;
     268  if Assigned(Expression.VariableRef) then begin
     269    Result := Block.Variables.SearchByVariable(Expression.VariableRef).Value;
    270270  end else
    271   if Assigned(Expression.Constant) then begin
    272     Result := Expression.Constant.Value;
     271  if Assigned(Expression.ConstantRef) then begin
     272    Result := Expression.ConstantRef.Value;
    273273  end else
    274274  if Assigned(Expression.FunctionCall) then begin
Note: See TracChangeset for help on using the changeset viewer.