Update of /cvsroot/pure-data/externals/zexy/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8240
Modified Files: index.c Log Message: added more intelligent verbosity
Index: index.c =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/index.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** index.c 21 Jun 2005 13:23:11 -0000 1.7 --- index.c 30 Jun 2005 18:32:56 -0000 1.8 *************** *** 149,153 **** newentry--; if(x->names[newentry]){ /* it is already taken! */ ! error("index :: couldn't add element at position %d (already taken)", newentry+1); outlet_float(x->x_obj.ob_outlet, -1.f); return; --- 149,153 ---- newentry--; if(x->names[newentry]){ /* it is already taken! */ ! error("index :: couldn't add element '%s' at position %d (already taken)", s->s_name, newentry+1); outlet_float(x->x_obj.ob_outlet, -1.f); return; *************** *** 165,169 **** } else error("index :: couldn't find any place for new entry"); } else error("index :: max number of elements (%d) reached !", x->maxentries); ! } else post("index :: element already exists");
/* couldn't add the symbol to our index table */ --- 165,169 ---- } else error("index :: couldn't find any place for new entry"); } else error("index :: max number of elements (%d) reached !", x->maxentries); ! } else post("index :: element '%s' already exists", s->s_name);
/* couldn't add the symbol to our index table */