| 51 | function<push_back_impl> const push_back = push_back_impl(); |
| 52 | |
| 53 | bool |
| 54 | parse_identifiers(char const* str, vector<std::string>& v) |
| 55 | { |
| 56 | return parse(str, |
| 57 | |
| 58 | // Begin grammar |
| 59 | ( |
| 60 | (+alpha_p) |
| 61 | [ |
| 62 | push_back(var(v), construct_<std::string>(arg1, arg2)) |
| 63 | ] |
| 64 | >> |
| 65 | *(',' >> |
| 66 | (+alpha_p) |
| 67 | [ |
| 68 | push_back(var(v), construct_<std::string>(arg1, arg2)) |
| 69 | ] |
| 70 | ) |
| 71 | ) |
| 72 | , |
| 73 | // End grammar |
| 74 | |
| 75 | space_p).full; |
| 76 | } |
| 77 | |
| 78 | //////////////////////////////////////////////////////////////////////////// |
| 79 | // |