|
|
| version 1.41, 2001/11/05 11:46:20 | version 1.44, 2002/03/27 15:30:33 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: @b double parser class. | Parser: @b double parser class. |
| Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexander Petrosyan <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| $Id$ | $Id$ |
| */ | */ |
| Line 86 static void _sql(Request& r, const Strin | Line 86 static void _sql(Request& r, const Strin |
| if(default_code) | if(default_code) |
| val=r.process(*default_code).as_double(); | val=r.process(*default_code).as_double(); |
| else { | else { |
| throw Exception(0, 0, | throw Exception("parser.runtime", |
| &method_name, | &method_name, |
| "produced no result, but no default option specified"); | "produced no result, but no default option specified"); |
| val=0; //calm, compiler | val=0; //calm, compiler |