Thread (1 message) 1 message, 1 author, 2011-09-09

Re: [PATCH v3 3/3] dtc: Support character literals in bytestrings

From: David Gibson <hidden>
Date: 2011-09-09 01:15:10

On Thu, Sep 08, 2011 at 02:39:17PM -0700, Anton Staaf wrote:
With this patch the following property assignment:

    property = ['a' 2b '\r'];

is equivalent to:

    property = [61 2b 0d];
[snip]
+<BYTESTRING>{CHAR_LITERAL} {
You should just be able to make the existing rule a <*> one,
rather than having a separate rule for BYTESTRING context.

-- 
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help