--- parser3/src/main/pa_dictionary.C 2012/01/08 05:58:27 1.25 +++ parser3/src/main/pa_dictionary.C 2024/11/04 03:53:25 1.32 @@ -1,22 +1,22 @@ /** @file Parser: dictionary class impl. - Copyright (c) 2001-2005 ArtLebedev Group (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 */ -static const char * const IDENT_DICTIONARY_C="$Date: 2012/01/08 05:58:27 $"; - #include "pa_dictionary.h" #include "pa_exception.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 memset(starting_line_of, 0, sizeof(starting_line_of)); // 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(