|
|
| version 1.236, 2007/10/16 09:30:10 | version 1.237, 2007/11/14 09:45:21 |
|---|---|
| Line 429 void maybe_enclose( ostringstream& to, c | Line 429 void maybe_enclose( ostringstream& to, c |
| /* | /* |
| static void _save_old(Request& r, MethodParams& params) { | static void _save_old(Request& r, MethodParams& params) { |
| const String& first_arg=params.as_string(0, "first argument must not be code"); | const String& first_arg=params.as_string(0, FIRST_ARG_MUST_NOT_BE_CODE); |
| size_t param_index=1; | size_t param_index=1; |
| bool do_append=false; | bool do_append=false; |
| Line 515 static void _save_old(Request& r, Method | Line 515 static void _save_old(Request& r, Method |
| */ | */ |
| static void _save(Request& r, MethodParams& params) { | static void _save(Request& r, MethodParams& params) { |
| const String& first_arg=params.as_string(0, "first argument must not be code"); | const String& first_arg=params.as_string(0, FIRST_ARG_MUST_NOT_BE_CODE); |
| size_t param_index=1; | size_t param_index=1; |
| bool do_append=false; | bool do_append=false; |
| Line 773 static void _hash(Request& r, MethodPara | Line 773 static void _hash(Request& r, MethodPara |
| int param_index=params.count()-1; | int param_index=params.count()-1; |
| if(param_index>0) { | if(param_index>0) { |
| if(HashStringValue* options= | if(HashStringValue* options= |
| params.as_no_junction(param_index, "param must not be code").get_hash() | params.as_no_junction(param_index, PARAM_MUST_NOT_BE_CODE).get_hash() |
| ){ | ){ |
| --param_index; | --param_index; |
| int valid_options=0; | int valid_options=0; |