Fix "declarations mixed with code" warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
54e6571299
commit
7b89801c80
1 changed files with 1 additions and 2 deletions
|
|
@ -2537,8 +2537,7 @@ template_directive: SWIGTEMPLATE LPAREN idstringopt RPAREN idcolonnt LESSTHAN va
|
|||
|
||||
This is closer to the C++ (typedef) behavior.
|
||||
*/
|
||||
Parm *parms = $7;
|
||||
n = Swig_cparse_template_locate($5,parms,tscope);
|
||||
n = Swig_cparse_template_locate($5,$7,tscope);
|
||||
|
||||
/* Patch the argument types to respect namespaces */
|
||||
p = $7;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue