| 4654 | return None; |
| 4655 | } |
| 4656 | Mode handlePositional( std::size_t i, char c, std::string const& arg, std::vector<Token>& tokens ) { |
| 4657 | if( inQuotes || std::string( "\0", 1 ).find( c ) == std::string::npos ) |
| 4658 | return mode; |
| 4659 | |
| 4660 | std::string data = arg.substr( from, i-from ); |
| 4661 | tokens.push_back( Token( Token::Positional, data ) ); |
| 4662 | return None; |
| 4663 | } |
| 4664 | }; |
| 4665 | |
| 4666 | template<typename ConfigT> |