On Tue, Feb 27, 2018 at 10:00:10AM -0800, Frank Rowand wrote: > On 02/27/18 09:58, Frank Rowand wrote: > > On 02/27/18 07:54, Rob Herring wrote: > >> On Sun, Feb 25, 2018 at 9:22 PM, <frowand.list@xxxxxxxxx> wrote: > >>> From: Frank Rowand <frowand.list@xxxxxxxxx> > >>> > >>> Hi All, > >>> > >>> I am once again out of my depth with bison and flex. > >> > >> Can't help on that one... > >> > >>> The Devicetree Specification and ePAPR both tell me that I can > >>> put a label on a node, as in: > >>> > >>> [label:] node-name[@unit-address] { > >>> [properties definitions] > >>> [child nodes] > >>> } > >> > >> Applying this to the root node would also imply that a unit-address is > >> also allowed which it is not. I'd contend that the root is special. > > > > Good point. Looks like I may have some additions to propose for the > > spec to clarify things. > > > > Also not mentioned in the spec: > > > - "[label:]" should be something like "[label:} ..." (not sure of > > [label:] ... > > Never a shift key when you need one. Always a shift key when you > don't need one. Oh is *that* why they call them shift/reduce conflicts ;-p. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Attachment:
signature.asc
Description: PGP signature