--- parser3/src/main/compile_tools.h 2001/03/12 09:08:50 1.29 +++ parser3/src/main/compile_tools.h 2001/03/19 17:42:15 1.33 @@ -1,9 +1,11 @@ -/* - Parser +/** @file + Parser: compiler support helper functions decls. + Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexander Petrosyan (http://design.ru/paf) - $Id: compile_tools.h,v 1.29 2001/03/12 09:08:50 paf Exp $ + $Id: compile_tools.h,v 1.33 2001/03/19 17:42:15 paf Exp $ */ #ifndef COMPILE_TOOLS @@ -38,7 +40,7 @@ struct parse_control { // input Pool *pool; Request *request; - VClass *cclass; + VStateless_class *cclass; #ifndef NO_CSTRING_ORIGIN const char *source; const char *file; @@ -84,9 +86,10 @@ inline void P(Array/**/ *resu } // aPpend 'vstring' to 'result' void PV(Array/**/ *result, VString *vstring); -// aPpend 'Code_Array' to result +// aPpend 'simple Code_Array' to result void PCA(Array/**/ *result, Array/**/ *code_array); - +// aPpend 'expression Code_Array' to result +void PEA(Array/**/ *result, Array/**/ *code_array); // Value Literal // returns array with // first: OP_VALUE instruction