A few comment tweaks.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f88d434d27
commit
859a8beb79
1 changed files with 16 additions and 16 deletions
|
|
@ -2506,17 +2506,17 @@ template_directive: SWIGTEMPLATE LPAREN idstringopt RPAREN idcolonnt LESSTHAN va
|
|||
|
||||
tscope = Swig_symbol_current(); /* Get the current scope */
|
||||
|
||||
/* If the class name is qualified. We need to create or lookup namespace entries */
|
||||
/* If the class name is qualified, we need to create or lookup namespace entries */
|
||||
if (!inclass) {
|
||||
$5 = resolve_node_scope($5);
|
||||
}
|
||||
|
||||
/*
|
||||
we use the new namespace entry 'nscope' only to
|
||||
We use the new namespace entry 'nscope' only to
|
||||
emit the template node. The template parameters are
|
||||
resolved in the current 'tscope'.
|
||||
|
||||
this is closer to the C++ (typedef) behavior.
|
||||
This is closer to the C++ (typedef) behavior.
|
||||
*/
|
||||
n = Swig_cparse_template_locate($5,$7,tscope);
|
||||
|
||||
|
|
@ -2688,8 +2688,8 @@ template_directive: SWIGTEMPLATE LPAREN idstringopt RPAREN idcolonnt LESSTHAN va
|
|||
|
||||
/* Merge in addmethods for this class */
|
||||
|
||||
/* !!! This may be broken. We may have to add the addmethods at the beginning of
|
||||
the class */
|
||||
/* !!! This may be broken. We may have to add the
|
||||
addmethods at the beginning of the class */
|
||||
|
||||
if (extendhash) {
|
||||
String *stmp = 0;
|
||||
|
|
@ -2751,7 +2751,7 @@ template_directive: SWIGTEMPLATE LPAREN idstringopt RPAREN idcolonnt LESSTHAN va
|
|||
nn = Getattr(nn,"sym:nextSibling"); /* repeat for overloaded templated functions. If a templated class there will never be a sibling. */
|
||||
}
|
||||
}
|
||||
Swig_symbol_setscope(tscope);
|
||||
Swig_symbol_setscope(tscope);
|
||||
Delete(Namespaceprefix);
|
||||
Namespaceprefix = Swig_symbol_qualifiedscopename(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue