[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: gschem sym files
> Kai-Martin Knaak:
> > Karl Hammar wrote:
...
> > > Should a missing numslots=0 really be a warning?
> > ack. It has been quite some time that numslots=0 is not necessary
> > anymore.
...
> 2, remove numslots=0 warning from gsymcheck
Attached patch does that.
Regards,
/Karl Hammar
---------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57
diff --git a/gsymcheck/src/s_check.c b/gsymcheck/src/s_check.c
index d66106f..fd78ca7 100644
--- a/gsymcheck/src/s_check.c
+++ b/gsymcheck/src/s_check.c
@@ -793,10 +793,12 @@ s_check_slotdef (const GList *obj_list, SYMCHECK *s_current)
value = o_attrib_search_floating_attribs_by_name (obj_list, "numslots", 0);
if (!value) {
+ /*
message = g_strdup ("Did not find numslots= attribute, not checking slotting\n");
s_current->warning_messages = g_list_append(s_current->warning_messages,
message);
s_current->warning_count++;
+ */
message = g_strdup ("If this symbol does not need slotting, set numslots to zero (numslots=0)\n");
s_current->info_messages = g_list_append(s_current->info_messages,
message);
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user