[PATCH 1/2] Add character literal parsing in bytestrings

Jon Loeliger jdl at jdl.com
Thu Jul 21 22:41:57 EST 2011


> 
> Well, to be honest I'd love to have this syntax several years ago :).
>
> [...]
>
> Ok, here's what I suggest.  For now, can you create a patch which
> recognizes the character construct syntax in the lexer (including
> escapes), and allows its use in cell context.  That won't actually do
> what you want, but it gets a fair chunk of the code in a testable,
> upstreamable form without making syntax changes I'm uncomfortable
> with.
> 
> While we're getting that merged we can debate which/how to proceed
> with either variable size cell syntax or allowing the character
> literals in bytestring context.

Is it worth investigating any of the work I did down this line
several years ago?  It's all still in the "test" branch if so.

jdl


More information about the devicetree-discuss mailing list