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 == '}')
|
else if (c == '}')
|
||||||
return SWIG_TOKEN_RBRACE;
|
return SWIG_TOKEN_RBRACE;
|
||||||
else if (c == '{') {
|
else if (c == '{') {
|
||||||
/* Reset count to zero */
|
brackets_reset(s);
|
||||||
brackets_pop(s);
|
|
||||||
brackets_push(s);
|
|
||||||
return SWIG_TOKEN_LBRACE;
|
return SWIG_TOKEN_LBRACE;
|
||||||
}
|
}
|
||||||
else if (c == '=')
|
else if (c == '=')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue