devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] dtc: cpp co-existence
@ 2012-09-24 22:51 Stephen Warren
       [not found] ` <1348527077-27471-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Warren @ 2012-09-24 22:51 UTC (permalink / raw)
  To: David Gibson, Jon Loeliger
  Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Stephen Warren

From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

This series is a minimal set of changes to dtc that allows one to run
cpp on a .dts file, and pass the result to dtc for final compilation.

Stephen Warren (2):
  dtc: cpp co-existence: allow names starting with # to be escaped
  dtc: cpp co-existence: add support for #line directives

 dtc-lexer.l                |   26 ++++++++++++++++++++++++--
 srcpos.c                   |    6 ++++++
 srcpos.h                   |    2 ++
 tests/.gitignore           |    1 +
 tests/Makefile.tests       |    2 +-
 tests/propname_escapes.c   |   43 +++++++++++++++++++++++++++++++++++++++++++
 tests/propname_escapes.dts |   13 +++++++++++++
 tests/run_tests.sh         |    3 +++
 8 files changed, 93 insertions(+), 3 deletions(-)
 create mode 100644 tests/propname_escapes.c
 create mode 100644 tests/propname_escapes.dts

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-09-26  8:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24 22:51 [PATCH 0/2] dtc: cpp co-existence Stephen Warren
     [not found] ` <1348527077-27471-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-09-24 22:51   ` [PATCH 1/2] dtc: cpp co-existence: allow names starting with # to be escaped Stephen Warren
2012-09-24 22:51   ` [PATCH 2/2] dtc: cpp co-existence: add support for #line directives Stephen Warren
     [not found]     ` <1348527077-27471-3-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-09-26  4:34       ` David Gibson
     [not found]         ` <20120926043459.GD31993-W9XWwYn+TF0XU02nzanrWNbf9cGiqdzd@public.gmane.org>
2012-09-26  5:58           ` Stephen Warren
     [not found]             ` <50629968.9040800-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-09-26  8:53               ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).