Fixed variadic template argument warning.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Matevz Jekovec 2009-08-01 22:31:38 +00:00
commit 1993f92624

View file

@ -2744,8 +2744,8 @@ template_directive: SWIGTEMPLATE LPAREN idstringopt RPAREN idcolonnt LESSTHAN va
if (!p && tp) {
p = tp;
def_supplied = 1;
} else if (!tp) { /* Variadic tempalte - tp < p */
Swig_warning(0,cparse_file, cparse_line,"Variadic templates not fully supported by Swig.\n");
} else if (p && !tp) { /* Variadic template - tp < p */
Swig_warning(0,cparse_file, cparse_line,"Only the first variadic argument is currently supported by Swig.\n");
break;
}
}