--- parser3/src/main/execute.C 2001/02/21 11:19:19 1.9 +++ parser3/src/main/execute.C 2001/02/21 15:26:54 1.10 @@ -1,5 +1,5 @@ /* - $Id: execute.C,v 1.9 2001/02/21 11:19:19 paf Exp $ + $Id: execute.C,v 1.10 2001/02/21 15:26:54 paf Exp $ */ #include "pa_array.h" @@ -26,16 +26,16 @@ char *opcode_name[]={ void dump(int level, const Array& ops) { int size=ops.size(); for(int i=0; i(ops.raw_get(i)); + int code=reinterpret_cast(ops.quick_get(i)); printf("%*s%s", level*4, "", opcode_name[code]); if(code==OP_STRING) { - printf(" \"%s\"", static_cast(ops.raw_get(++i))->cstr()); + printf(" \"%s\"", static_cast(ops.quick_get(++i))->cstr()); } printf("\n"); if(code==OP_CODE_ARRAY) { - const Array *local_ops=reinterpret_cast(ops.raw_get(++i)); + const Array *local_ops=reinterpret_cast(ops.quick_get(++i)); dump(level+1, *local_ops); } }