Mirror of DTC
Find a file
David Gibson 41eecd4c2a dtc: Fix recognition of whitespace characters
At present, the lexer in dtc recognizes only space, tab and newline as
whitespace characters.  This is broken; in particular this means that
dtc will get syntax errors on files with DOS-style (CR-LF) newlines.

This patch fixes the problem, using flex's built-int [:space:]
character class.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2007-06-06 21:51:49 -05:00
Documentation Add paper on the flattened tree and dtc presented at linux.conf.au 2006 by 2006-01-31 16:17:59 +11:00
tests Add some initial test cases. 2007-02-15 11:02:44 -06:00
.gitignore Add a .gitignore file. 2005-10-21 17:28:42 +10:00
comment-test.dts Initial label support. Also switch to glr-parser mode and get rid of 2005-06-16 14:36:37 +10:00
COPYING Initial commit 2005-06-08 17:18:34 +10:00
data.c Moved data_convert_cell() out of data.c to the parser. 2007-02-16 09:33:54 -06:00
dtc-lexer.l dtc: Fix recognition of whitespace characters 2007-06-06 21:51:49 -05:00
dtc-parser.y DTC: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36:07 -05:00
dtc.c Add -o <output file> to the usage message. 2007-04-19 17:17:51 -05:00
dtc.h Implement the -R option and add a -S option. 2007-04-05 09:57:55 -05:00
flat_dt.h Improve options, #define default version. 2007-03-19 08:54:40 -05:00
flattree.c Fix the -S to modify the totalsize properly. 2007-04-20 08:43:45 -05:00
fstree.c Rework tracking of reserve entries during processing. This is initial work 2005-10-24 18:18:38 +10:00
ftdump.c ftdump missing be32_to_cpu() on size cell. 2007-03-22 08:30:52 -05:00
livetree.c Remove bogus errors from check_chosen. 2007-03-26 08:34:23 -05:00
Makefile DTC: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36:07 -05:00
srcpos.c DTC: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36:07 -05:00
srcpos.h DTC: Incorporate some review suggestions. 2007-03-28 17:07:44 -05:00
TODO Update TODO 2005-10-19 16:29:52 +10:00
treesource.c DTC: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36:07 -05:00