--- parser3/src/include/pa_hash.h 2017/11/15 22:48:57 1.99 +++ parser3/src/include/pa_hash.h 2020/12/15 17:10:31 1.101 @@ -1,7 +1,7 @@ /** @file Parser: hash class decl. - 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) */ @@ -17,7 +17,7 @@ #ifndef PA_HASH_H #define PA_HASH_H -#define IDENT_PA_HASH_H "$Id: pa_hash.h,v 1.99 2017/11/15 22:48:57 moko Exp $" +#define IDENT_PA_HASH_H "$Id: pa_hash.h,v 1.101 2020/12/15 17:10:31 moko Exp $" #include "pa_memory.h" #include "pa_types.h" @@ -555,7 +555,7 @@ public: if(pair->code==code && CORD_cmp(pair->key,(CORD)key)==0) return pair->value; - return V(0); + return V((const char *)0); } /// put a [value] under the [key] if that [key] existed @returns existed or not