# Re: \[PATCH 1/2\] Add character literal parsing in bytestrings

- From: David Gibson \<hidden\>
- Date: 2011-07-27 01:49:50 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2011/07/8053735
- Thread: https://ratatoskr.run/linux-devicetree/2011/07/8053735/t.md

```text
On Thu, Jul 21, 2011 at 07:41:57AM -0500, Jon Loeliger wrote:
> > 
> > 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.

Well, it might be worth re-examining that in any case, but as far as I
can recall or tell from a quick look at the testing branch, everything
in there is more or less orthogonal to anything suggested in this
thread.

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