From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anton Staaf Subject: [PATCH v2 0/3] Support character literals Date: Wed, 7 Sep 2011 16:15:37 -0700 Message-ID: <1315437340-1661-1-git-send-email-robotboy@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org List-Id: devicetree@vger.kernel.org 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