[PATCH 8/9 V3] Add documentation for the new DTS language.
    David Gibson 
    david at gibson.dropbear.id.au
       
    Fri Oct  3 02:11:50 EST 2008
    
    
  
On Thu, Oct 02, 2008 at 10:22:42AM -0500, Scott Wood wrote:
> On Thu, Oct 02, 2008 at 11:18:00AM +1000, David Gibson wrote:
> > > I vote against anything similar to the C preprocessor.
> > 
> > Why?
> 
> It's not nearly as powerful as the semantic approach, and it is
How so?  If anything I think it's more powerful, because the macro
boundaries can be anywhere, not only at the edges of particular
semantic constructs.
> syntactically clumsy (I do *not* want to have to put a backslash at the
> end of every line within a macro, for example).
Avoiding the backslashes everywhere is a reasonable argument though.
That's avoidable without dropping the basic idea of macro expansion,
though.
-- 
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 devicetree-discuss
mailing list