More efficient end of template bracket (>>) handling
This commit is contained in:
parent
9959860235
commit
5feaa79176
1 changed files with 1 additions and 3 deletions
|
|
@ -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 == '=')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue