Fixed [ 675491 ] parse error with global namespace qualification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7119c4f544
commit
d0037d9ef4
1 changed files with 4 additions and 1 deletions
|
|
@ -4375,6 +4375,7 @@ template_decl : LESSTHAN valparms GREATERTHAN {
|
|||
String *s = NewString("");
|
||||
SwigType_add_template(s,$2);
|
||||
$$ = Char(s);
|
||||
scanner_last_id(1);
|
||||
}
|
||||
| empty { $$ = (char*)""; }
|
||||
;
|
||||
|
|
@ -4428,7 +4429,9 @@ idcolontail : DCOLON idtemplate idcolontail {
|
|||
|
||||
idtemplate : ID template_decl {
|
||||
$$ = NewStringf("%s%s",$1,$2);
|
||||
scanner_last_id(1);
|
||||
/* if (Len($2)) {
|
||||
scanner_last_id(1);
|
||||
} */
|
||||
}
|
||||
;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue