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:
Olly Betts 2007-12-22 18:36:06 +00:00
commit 7b89801c80

View file

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