[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: numslots=0
On Sat, Feb 05, 2011 at 05:07:06AM +0100, Kai-Martin Knaak wrote:
> Another cite from the master attribute list:
>
> /----------------------
> numslots=# should exist somewhere in the symbol and be made invisible.
> This is a free standing or floating attribute. If the symbol does not
> need slotting, then put numslots=0 into the symbol file.
> \----------------------
>
> Why is the numslots attribute required to be invisible? IMHO, this is
> a matter of style that should be up to the user.
>
> The master attribute list explicitly requires all symbols to contain
> an numslots attribute, even if slotting does not apply at all. IIRC,
> gnetlist does not care about missing numslots=0 since quite some time.
But gsymcheck does care (at least in 1.6.1 which I'm using yet. And I've
found no changes for the program in the main git repository since that
version).
> Any objection to change this requirement in favor of:
> If the symbol does not need slotting, then either put numslots=0
> into the symbol file, or completely omit the numslots attribute.
This affects also the 'Symbol Creation Howto' and the gsymcheck symbol
checker itself. Would you like to change gsymcheck behaviour (that is
code)?
gsymcheck has some issues. For example, it outputs errors or warnings
when some irrelevant attributes, such as numslot, are missing in purely
graphical symbols.
There is also 'gsymfix' which should be used to fix some attributes
issues. And in that case it also should be fixed. (It should be fixed
anyway because it wrongly sets the "XXX" value for missed attributes
that violates requirements of the 'Master Attributes List' document e.g.
to set footprint=unknown for symbols without known footprint and so on.)
--
VZh
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user