[DTC PATCH] Add support for decimal, octal and binary based cell values.

David Gibson david at gibson.dropbear.id.au
Fri Feb 16 09:12:44 EST 2007


On Fri, Feb 16, 2007 at 08:44:43AM +1100, Benjamin Herrenschmidt wrote:
> On Thu, 2007-02-15 at 12:05 -0600, Jon Loeliger wrote:
> > So, like, the other day "Yoder Stuart-B08248" mumbled:
> > > 
> > > I like to see no space between the d#, h#, etc and the
> > > numeric value.
> > 
> > So, that's one of the really nice things about parsers.
> > Just do this, then:
> > 
> >     d23 = <d#23>;		// Just like <d# 23>!
> > 
> > The real question, though, is this:  MUST the space between
> > 'd#' and '23' be removed so that it is all one token?
> > I suppose I could repaint that shed if needed, but I 
> > don't think it is.
> 
> Also, the question is, will the d# affect only the next number or all
> the numbers until the next ">" ?

Only the next.

-- 
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



More information about the Linuxppc-dev mailing list