[PATCH v2 0/3] Support character literals

Anton Staaf robotboy at chromium.org
Thu Sep 8 09:15:37 EST 2011


    These patches add simple and escaped character literal parsing support
to the dtc for cell lists and bytestrings.  The first patch refactors the
string parsing code in data.c to expose the more primitive character parsing
code for use in the later patches.  I have left the bytestring support in
place but my hope is that it is now separate enough to be discussed
independantly of the refactor and cell list changes.

    Thanks,
        Anton

Changes in v2:
- Move the refactor of data.c to a separate patch
- Add support for character literals in cell lists
- Merge normal and escaped literal support for bytestrings into single patch

Anton Staaf (3):
  dtc: Refactor character literal parsing code
  dtc: Support character literals in cell lists
  dtc: Support character literals in bytestrings

 Documentation/dts-format.txt |    7 ++-
 Documentation/manual.txt     |    7 ++-
 data.c                       |   77 +--------------------------------
 dtc-lexer.l                  |   28 ++++++++++++
 dtc-parser.y                 |    4 ++
 util.c                       |   99 ++++++++++++++++++++++++++++++++++++++++++
 util.h                       |   18 ++++++++
 7 files changed, 158 insertions(+), 82 deletions(-)

-- 
1.7.3.1



More information about the devicetree-discuss mailing list