Diff for /parser3/src/main/execute.C between versions 1.2 and 1.4

version 1.2, 2001/02/20 19:21:13 version 1.4, 2001/02/21 07:35:40
Line 2 Line 2
   $Id$    $Id$
 */  */
   
 #include "pa_array.h"  #include "pa_array.h" 
 #include "code.h"  #include "code.h"
   
 #include <stdio.h>  #include <stdio.h>
Line 14  char *opcode_name[]={ Line 14  char *opcode_name[]={
         "CONSTRUCT",          "CONSTRUCT",
         "EXPRESSION_EVAL",      "MODIFY_EVAL",          "EXPRESSION_EVAL",      "MODIFY_EVAL",
         "WRITE",          "WRITE",
         "REPLACE_RESULT",  
         "GET_ELEMENT",  "GET_ELEMENT__WRITE",          "GET_ELEMENT",  "GET_ELEMENT__WRITE",
         "CREATE_EWPOOL",        "REDUCE_EWPOOL",          "CREATE_EWPOOL",        "REDUCE_EWPOOL",
         "CREATE_RWPOOL",        "REDUCE_RWPOOL",          "CREATE_RWPOOL",        "REDUCE_RWPOOL",
Line 40  void dump(int level, const Array *ops) { Line 39  void dump(int level, const Array *ops) {
   
                 if(code==OP_CODE_ARRAY) {                  if(code==OP_CODE_ARRAY) {
                         const Array *local_ops=reinterpret_cast<const Array *>(ops->raw_get(++i));                          const Array *local_ops=reinterpret_cast<const Array *>(ops->raw_get(++i));
                         dump(level=1, local_ops);                          dump(level+1, local_ops);
                 }                  }
         }          }
 }  }

Removed from v.1.2  
changed lines
  Added in v.1.4


E-mail: