Parse cpp_alias_template
This commit is contained in:
parent
cd4a25e959
commit
d6f0997fb6
14 changed files with 550 additions and 82 deletions
|
|
@ -272,9 +272,9 @@ detail::token_iterator detail::find_closing_bracket(detail::token_stream stream)
|
|||
else if (paren_count == 0 && template_bracket && cur == ">>")
|
||||
// maximal munch
|
||||
bracket_count -= 2u;
|
||||
else if (cur == "(")
|
||||
else if (cur == "(" || cur == "{" || cur == "[")
|
||||
++paren_count;
|
||||
else if (cur == ")")
|
||||
else if (cur == ")" || cur == "}" || cur == "]")
|
||||
--paren_count;
|
||||
}
|
||||
stream.bump_back();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue