--- parser3/src/main/compile_tools.h 2001/03/06 12:00:44 1.18 +++ parser3/src/main/compile_tools.h 2001/03/06 14:32:18 1.20 @@ -1,5 +1,5 @@ /* - $Id: compile_tools.h,v 1.18 2001/03/06 12:00:44 paf Exp $ + $Id: compile_tools.h,v 1.20 2001/03/06 14:32:18 paf Exp $ */ #ifndef COMPILE_TOOLS @@ -59,7 +59,7 @@ inline Array/**/ *N(Pool& pool) { } // Assembler instruction // append ordinary instruction to ops -inline void OP(Array/**/ *result, enum OPCODE code) { +inline void O(Array/**/ *result, enum OPCODE code) { Operation op; op.code=code; *result+=op.cast; } @@ -84,12 +84,14 @@ void PCA(Array/**/ *result, Array/*< // String Literal // returns array with -// first: OP_STRING instruction +// first: OP_VALUE instruction // second op: string itself Array *SL(VString *vstring); // Literal Array to(2) String // return string value from literal array OP+string array String *SLA2S(Array *literal_string_array, int offset=0); +void change_string_literal_to_double_literal(Array *literal_string_array); + // Class Literal // returns array with // first: OP_CLASS instruction // second op: vclass itself