--- parser3/src/main/compile_tools.h 2001/07/25 11:16:57 1.44 +++ parser3/src/main/compile_tools.h 2001/09/12 09:53:38 1.47.4.1 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: compile_tools.h,v 1.44 2001/07/25 11:16:57 parser Exp $ + $Id: compile_tools.h,v 1.47.4.1 2001/09/12 09:53:38 parser Exp $ */ #ifndef COMPILE_TOOLS @@ -18,7 +18,7 @@ #include "pa_request.h" enum lexical_state { - LS_USER, + LS_USER, LS_NAME_SQUARE_PART, LS_COMMENT, LS_DEF_NAME, LS_DEF_PARAMS, @@ -55,7 +55,7 @@ struct parse_control { //@} //@{ /// @name state; initially - bool skipping_bof_empty_lines; + bool trim_bof; int pending_state; ///< i=0 String *string; ///< =new(pool) String(pool) @@ -64,6 +64,8 @@ struct parse_control { int sp; ///< =0 enum lexical_state stack[MAX_LEXICAL_STATES]; int brackets_nestages[MAX_LEXICAL_STATES]; ///< brackets nestage on each state + + bool object_constructor_allowed; //@} /// output: filled input 'methods' and 'error' if any