|
@ -313,7 +313,7 @@ namespace gp { |
|
|
for(auto it = new_state.begin(); it != end_it; it++) { |
|
|
for(auto it = new_state.begin(); it != end_it; it++) { |
|
|
return_value.push_back(*it); |
|
|
return_value.push_back(*it); |
|
|
} |
|
|
} |
|
|
return {optional<gp::vector<char>>(gp::move(return_value)), parsing_state(new_state.begin() + size.value(), new_state.end())}; |
|
|
|
|
|
|
|
|
return {return_value, parsing_state(new_state.begin() + size.value(), new_state.end())}; |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|
default: break; |
|
|
default: break; |
|
|