--- parser3/src/classes/Attic/root.C 2001/03/13 09:05:30 1.34 +++ parser3/src/classes/Attic/root.C 2001/03/13 11:15:03 1.35 @@ -3,7 +3,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: root.C,v 1.34 2001/03/13 09:05:30 paf Exp $ + $Id: root.C,v 1.35 2001/03/13 11:15:03 paf Exp $ */ #include @@ -19,10 +19,10 @@ static void _if(Request& r, const String // forcing ^if(this param type) r.fail_if_junction_(false, condition_code, method_name, "condition must be junction"); - bool condition=r.process(condition_code, 0/*no name*/, false/*don't intercept string*/).get_bool(); + if(condition) { Value& then_code=*static_cast(params->get(1)); // forcing ^if(this param type)