--- parser3/src/main/pa_dictionary.C 2012/03/16 09:24:13 1.26 +++ parser3/src/main/pa_dictionary.C 2024/11/04 03:53:25 1.32 @@ -1,14 +1,14 @@ /** @file Parser: dictionary class impl. - Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) - Author: Alexandr Petrosian (http://paf.design.ru) + Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com) + Authors: Konstantin Morshnev , Alexandr Petrosian */ #include "pa_dictionary.h" #include "pa_exception.h" -volatile const char * IDENT_PA_DICTIONARY_C="$Id: pa_dictionary.C,v 1.26 2012/03/16 09:24:13 moko Exp $" IDENT_PA_DICTIONARY_H; +volatile const char * IDENT_PA_DICTIONARY_C="$Id: pa_dictionary.C,v 1.32 2024/11/04 03:53:25 moko Exp $" IDENT_PA_DICTIONARY_H; Dictionary::Dictionary(Table& atable): substs(atable.count()) { // clear starting_lines @@ -16,7 +16,7 @@ Dictionary::Dictionary(Table& atable): s // grab first letters of first column of a table constructor_line=1; - for(Array_iterator i(atable); i.has_next(); ) { + for(Array_iterator i(atable); i; ) { ArrayString* row=i.next(); append_subst(