Fix maximal munch parsing issue

This commit is contained in:
Jonathan Müller 2017-04-11 19:15:44 +02:00
commit 1b57248fc8
2 changed files with 6 additions and 3 deletions

View file

@ -148,7 +148,8 @@ namespace
{
auto iter = detail::find_closing_bracket(stream);
scope += detail::to_string(stream, iter);
detail::skip(stream, ">");
if (!detail::skip_if(stream, ">>"))
detail::skip(stream, ">");
scope += ">";
}
else