On Wed, 2011-04-13 at 16:58 -0400, DJ Delorie wrote: > > I thought we used "/" for netlist hierarchy. At least - that is what I > > coded for the netlist viewer in PCB. > > I suggested Attributes use : to "assign" attributes to owners, to > avoid conflict. That is a good separator prefix for namespacing, yes. Or :: even, like C ++. > Like PCB:background-color=yellow > > The syntax for what the owner owns can be different. > > PCB:drc.silk.minimum=5mil > > > I'd put a preference for similarity to CSS syntax if we can use that. > > CSS uses spaces for heirarchy: > > P EM { background: yellow; } That is ancestory. It would also match P/foo/bar/EM/ If you want just P/EM, you need: P > EM { background: yellow; } or P>EM { background: yellow; } -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ geda-user mailing list geda-user@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-user