--- parser3/src/classes/table.C 2008/02/14 09:10:24 1.239 +++ parser3/src/classes/table.C 2008/04/08 12:34:01 1.241 @@ -5,10 +5,12 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_TABLE_C="$Date: 2008/02/14 09:10:24 $"; +static const char * const IDENT_TABLE_C="$Date: 2008/04/08 12:34:01 $"; +#ifndef NO_STRINGSTREAM #include using namespace std; +#endif #include "classes.h" #include "pa_vmethod_frame.h" @@ -387,6 +389,8 @@ static void _load(Request& r, MethodPara GET_SELF(r, VTable).set_table(table); } +#ifdef NO_STRINGSTREAM + void maybe_enclose( String& to, const String& from, char encloser, const String* sencloser ) { if(encloser) { to<<*sencloser; @@ -407,6 +411,8 @@ void maybe_enclose( String& to, const St to<count()) - throw Exception(PARSER_RUNTIME, - 0, - "invalid option passed"); - } else { - throw Exception(PARSER_RUNTIME, - 0, - "additional params must be hash (did you spell mode parameter correctly?)"); - } - } - } - if(param_index