|
Boost : |
From: John Ky (newhoggy_at_[hidden])
Date: 2006-01-23 05:19:41
Hello,
Is it possible to define a rule:
rule<> mystringrule = confix_p('"', *c_escape_ch_p, '"')
differently such that I can use
std::string value;
bool result = parse("\"hello world\"", mystringrule[assign_a(value)]).full;
and get the text = "hello world" assigned to value?
Currently, I get text = "\"hello world\"" instead. ie with double
quotes at either end.
Thanks
-John
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk