--- parser3/src/classes/reflection.C 2024/09/17 18:09:59 1.91 +++ parser3/src/classes/reflection.C 2024/11/04 03:53:25 1.94 @@ -1,7 +1,7 @@ /** @file Parser: @b reflection parser class. - Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com) Authors: Konstantin Morshnev , Alexandr Petrosian */ @@ -10,7 +10,7 @@ #include "pa_vbool.h" #include "pa_vobject.h" -volatile const char * IDENT_REFLECTION_C="$Id: reflection.C,v 1.91 2024/09/17 18:09:59 moko Exp $"; +volatile const char * IDENT_REFLECTION_C="$Id: reflection.C,v 1.94 2024/11/04 03:53:25 moko Exp $"; static const String class_type_methoded("methoded"); @@ -197,7 +197,7 @@ static void _def(Request& r, MethodParam // can't use get_class because it will call @autouse[] if the class wasn't loaded r.write(VBool::get(r.classes().get(name)!=0)); } else { - throw Exception(PARSER_RUNTIME, &type, "is invalid type, must be '%s'", def_class.cstr()); + throw Exception(PARSER_RUNTIME, &type, "is an invalid type, must be '%s'", def_class.cstr()); } } @@ -652,7 +652,7 @@ static void _stack(Request& r, MethodPar } } - result->put(format(index, 0), &vcurrent); + result->put(pa_uitoa(index), &vcurrent); } caller=caller->caller(); index++;