--- parser3/src/main/compile_tools.h 2001/03/13 13:39:58 1.29.8.1 +++ parser3/src/main/compile_tools.h 2001/03/24 16:29:09 1.34 @@ -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.8.1 2001/03/13 13:39:58 paf Exp $ + $Id: compile_tools.h,v 1.34 2001/03/24 16:29:09 paf Exp $ */ #ifndef COMPILE_TOOLS @@ -16,6 +18,7 @@ enum lexical_state { LS_USER, + LS_COMMENT, LS_DEF_NAME, LS_DEF_PARAMS, LS_DEF_LOCALS, @@ -84,9 +87,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