Further patch to :: space handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
84aed5e679
commit
5f9849dfbb
1 changed files with 3 additions and 0 deletions
|
|
@ -764,6 +764,8 @@ int yylook(void) {
|
|||
return DSTAR;
|
||||
} else if (c == '~') {
|
||||
return DCNOT;
|
||||
} else if (isspace(c)) {
|
||||
/* Keep scanning ahead. Might be :: * or :: ~ */
|
||||
} else {
|
||||
retract(1);
|
||||
if (!last_id) {
|
||||
|
|
@ -773,6 +775,7 @@ int yylook(void) {
|
|||
return DCOLON;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 60: /* shift operators */
|
||||
if ((c = nextchar()) == 0) return (0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue