mirror of
https://github.com/dgibson/dtc.git
synced 2025-12-07 13:45:07 -05:00
Mirror of DTC
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> |
||
|---|---|---|
| Documentation | ||
| tests | ||
| .gitignore | ||
| comment-test.dts | ||
| COPYING | ||
| data.c | ||
| dtc-lexer.l | ||
| dtc-parser.y | ||
| dtc.c | ||
| dtc.h | ||
| flat_dt.h | ||
| flattree.c | ||
| fstree.c | ||
| ftdump.c | ||
| livetree.c | ||
| Makefile | ||
| srcpos.c | ||
| srcpos.h | ||
| TODO | ||
| treesource.c | ||