More efficient end of template bracket (>>) handling

This commit is contained in:
William S Fulton 2014-04-07 07:27:06 +01:00
commit 5feaa79176

View file

@ -549,9 +549,7 @@ static int look(Scanner *s) {
else if (c == '}')
return SWIG_TOKEN_RBRACE;
else if (c == '{') {
/* Reset count to zero */
brackets_pop(s);
brackets_push(s);
brackets_reset(s);
return SWIG_TOKEN_LBRACE;
}
else if (c == '=')