--- parser3/src/main/compile_tools.h 2019/11/25 22:01:51 1.114 +++ parser3/src/main/compile_tools.h 2021/11/09 14:21:04 1.116 @@ -1,14 +1,14 @@ /** @file Parser: compiler support helper functions decls. - Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2020 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef COMPILE_TOOLS #define COMPILE_TOOLS -#define IDENT_COMPILE_TOOLS_H "$Id: compile_tools.h,v 1.114 2019/11/25 22:01:51 moko Exp $" +#define IDENT_COMPILE_TOOLS_H "$Id: compile_tools.h,v 1.116 2021/11/09 14:21:04 moko Exp $" #include "pa_opcode.h" #include "pa_types.h" @@ -87,7 +87,7 @@ public: //@} /// output: filled input 'methods' and 'error' if any - char error[MAX_STRING]; + const char *error; Parse_control(Request& arequest, VStateless_class* aclass, @@ -114,7 +114,8 @@ public: ls_sp(0), in_call_value(false), explicit_result(false), - append(false) { + append(false), + error("") { *cclasses+=aclass; }