--- parser3/src/main/compile.tab.C 2021/11/09 14:21:52 1.181 +++ parser3/src/main/compile.tab.C 2023/09/26 20:49:09 1.183 @@ -71,13 +71,13 @@ /** @file Parser: compiler(lexical parser and grammar). - Copyright (c) 2001-2020 Art. Lebedev Studio (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) + Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) + Authors: Konstantin Morshnev , Alexandr Petrosian */ -volatile const char * IDENT_COMPILE_Y = "$Id: compile.tab.C,v 1.181 2021/11/09 14:21:52 moko Exp $"; +volatile const char * IDENT_COMPILE_Y = "$Id: compile.tab.C,v 1.183 2023/09/26 20:49:09 moko Exp $"; /** @todo parser4: @@ -3661,7 +3661,7 @@ break2: } static int real_yyerror(Parse_control *pc, const char *s) { // Called by yyparse on error - PC.error=s; + PC.error=pa_strdup(s); return 1; }