remove C++ usage in C file

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2007-08-31 22:06:23 +00:00
commit 1fce5e0454

View file

@ -50,9 +50,10 @@ void Swig_cparse_debug_templates(int x) {
static int cparse_template_expand(Node *n, String *tname, String *rname, String *templateargs, List *patchlist, List *typelist, List *cpatchlist) {
static int expanded = 0;
int ret;
String *nodeType;
if (!n)
return 0;
String *nodeType = nodeType(n);
nodeType = nodeType(n);
if (Getattr(n, "error"))
return 0;