Further patch to :: space handling.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-08-11 17:55:04 +00:00
commit 95ebf5724d

View file

@ -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);