--- parser3/src/main/pa_dictionary.C 2002/02/08 08:30:15 1.12 +++ parser3/src/main/pa_dictionary.C 2002/08/01 11:26:50 1.15 @@ -3,10 +3,10 @@ Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - - $Id: pa_dictionary.C,v 1.12 2002/02/08 08:30:15 paf Exp $ */ +static const char* IDENT_DICTIONARY_C="$Id: pa_dictionary.C,v 1.15 2002/08/01 11:26:50 paf Exp $"; + #include "pa_dictionary.h" #include "pa_exception.h" @@ -17,9 +17,9 @@ void Dictionary::add_first(Array::Item * const String& a=*row->get_string(0); const String& b=*row->get_string(1); // empty 'a' check - if(a.size()==0) { + if(a.is_empty()) { Pool& pool=self.pool(); - throw Exception(0, 0, + throw Exception("parser.runtime", &a, "dictionary table 'from' column elements must not be empty"); }