Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const bool r
- = qi::parse(beg, end,
- no_case[(
- (string("LOCK") [ph::ref(command) = ct_lock] >> *space >> construct<std::string>(+(char_ - eoi))[ph::ref(lock_name) = _1])
- | (string("TRY_LOCK") [ph::ref(command) = ct_try_lock] >> *space >> construct<std::string>(+(char_ - eoi))[ph::ref(lock_name) = _1])
- | (string("UNLOCK") [ph::ref(command) = ct_unlock] >> eoi)
- | (string("VERSION") [ph::ref(command) = ct_version] >> eoi)
- | (string("INFO") [ph::ref(command) = ct_info] >> eoi)
- | (string("QUIT") [ph::ref(command) = ct_quit] >> eoi)
- )]);
Add Comment
Please, Sign In to add comment