Index: trunk/extensions/AbuseFilter/parser_native/parser.cpp |
— | — | @@ -255,7 +255,16 @@ |
256 | 256 | */ |
257 | 257 | value = |
258 | 258 | strict_real_p[value.val = bind(&datum::from_double)(arg1)] |
| 259 | +#if 0 |
| 260 | + | oct_p[value.val = bind(f_from_str)(arg1, 8)] >> 'o' |
| 261 | + | hex_p[value.val = bind(f_from_str)(arg1, 16)] >> 'x' |
| 262 | + | bin_p[value.val = bind(f_from_str)(arg1, 2)] >> 'b' |
259 | 263 | | int_p[value.val = bind(&datum::from_int)(arg1)] |
| 264 | +#endif |
| 265 | + | oct_p[value.val = bind(&datum::from_int)(arg1)] >> 'o' |
| 266 | + | hex_p[value.val = bind(&datum::from_int)(arg1)] >> 'x' |
| 267 | + | bin_p[value.val = bind(&datum::from_int)(arg1)] >> 'b' |
| 268 | + | int_p[value.val = bind(&datum::from_int)(arg1)] |
260 | 269 | | confix_p('"', *c_escape_ch_p, '"')[ |
261 | 270 | value.val = bind(&datum::from_string)(construct_<std::string>(arg1 + 1, arg2 - 1)) |
262 | 271 | ] |