Ignore:
Timestamp:
Feb 11, 2017, 12:47:38 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Better expression parsing.
  • Added: Executor function call context for storing local variables.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/interpreter/Execute3.pas

    r99 r100  
    109109begin
    110110  case Command^.CmdType of
    111     ctBeginEnd: ExecuteBeginEnd(PBeginEnd(Command^.Ptr));
    112     ctWhileDo: ExecuteWhileDo(PWhileDo(Command^.Ptr));
    113     ctIfThenElse: ExecuteIfThenElse(PIfThenElse(Command^.Ptr));
    114     ctExecution: ExecuteExecution(PExecution(Command^.Ptr));
    115     ctAssignment: ExecuteAssignment(PAssignment(Command^.Ptr));
     111    ctBeginEnd: ExecuteBeginEnd(Command^.BeginEnd);
     112    ctWhileDo: ExecuteWhileDo(Command^.WhileDo);
     113    ctIfThenElse: ExecuteIfThenElse(Command^.IfThenElse);
     114    ctExecution: ExecuteExecution(Command^.Execution);
     115    ctAssignment: ExecuteAssignment(Command^.Assignment);
    116116  end;
    117117end;
Note: See TracChangeset for help on using the changeset viewer.