--- parser3/src/main/pa_dictionary.C 2015/10/26 01:21:58 1.27 +++ parser3/src/main/pa_dictionary.C 2026/04/25 13:38:46 1.33 @@ -1,14 +1,14 @@ /** @file Parser: dictionary class impl. - Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com) - Author: Alexandr Petrosian (http://paf.design.ru) + Copyright (c) 2001-2026 Art. Lebedev Studio (https://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.27 2015/10/26 01:21:58 moko Exp $" IDENT_PA_DICTIONARY_H; +volatile const char * IDENT_PA_DICTIONARY_C="$Id: pa_dictionary.C,v 1.33 2026/04/25 13:38:46 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(