3 Jul
2009
3 Jul
'09
2:20 p.m.
Hi all, I've detected a strange behavior of Spirit using (VC9SP1). I assume that chset_p( "-_!#$%&*+|~" ) and chset_p( "!#$%&*+-_|~" ) are identical. I've only changed the order of the characters a little bit. But when i'm trying to parse a string like "abcd-edfg: " the parser eats the ':' sign but shouldn't. Examples here: token_ = alnum_p | chset_p( "-_!#$%&*+|~" ); // the line above works fine token_ = alnum_p | chset_p( "!#$%&*+-_|~" ); // here the ':' sign will be consumed! Thanx.