
25 Jun
2005
25 Jun
'05
2:59 p.m.
Joel de Guzman wrote:
Pedro LamarĂ£o wrote:
Pedro LamarĂ£o wrote:
The following test program doesn't work like I would expect.
There's a mailing list for spirit: https://lists.sourceforge.net/lists/listinfo/spirit-general
Please post there. Thanks!
Well, since this is an easy one... Try changing rule_t test_hit = range_p(0x80, 0x7F); to rule_t test_hit = range_p(char(0x80), char(0x7F)); Why? Because range_p(0x80, 0x7F) returns a range<int>, not a range<char> that you are expecting. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net