From 0b11a02ddf50231fcb63fc7080f6b09d78757581 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 4 Oct 2004 20:36:23 +0000 Subject: [PATCH] code comment added git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6311 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/overload.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/Modules/overload.cxx b/Source/Modules/overload.cxx index cd38fc1fa..07d457e86 100644 --- a/Source/Modules/overload.cxx +++ b/Source/Modules/overload.cxx @@ -65,12 +65,14 @@ Swig_overload_rank(Node *n, bool script_lang_wrapping) { continue; } */ + /* Make a list of all the declarations (methods) that are overloaded with + * this one particular method name */ if (Getattr(c,"wrap:name")) { nodes[nnodes].n = c; nodes[nnodes].parms = Getattr(c,"wrap:parms"); nodes[nnodes].argc = emit_num_required(nodes[nnodes].parms); - nodes[nnodes].error = 0; - nnodes++; + nodes[nnodes].error = 0; + nnodes++; } c = Getattr(c,"sym:nextSibling"); }