|
Boost Users : |
Subject: [Boost-users] [spirit] This parser hang
From: Kamil Zubair (kamilzubair_at_[hidden])
Date: 2010-12-01 09:39:49
This code:
std::string s("blablabla");
std::string::iterator start = s.begin();
std::string::iterator finish = s.end();
bool result = phrase_parse(start, finish, +(!char_(':')), space);
It's just a simple parser that match string which doesn't have ':' character in it right ? But when I run it, function phrase_parse is hang, it never return anything.
I'm using boost 1.44 with VC 2008
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net