commit | e45e6fd274826991c2b7e01fde4d73110487e0e0 | [log] [tgz] |
---|---|---|
author | Jon Loeliger <jdl@freescale.com> | Fri Mar 23 15:18:41 2007 -0500 |
committer | Jon Loeliger <jdl@freescale.com> | Mon Mar 26 08:36:07 2007 -0500 |
tree | 5770119a61cc0c2767757a507e074ddd4e80e34e | |
parent | b29597d9a343761f768a9d78a63f1c09e71b43d2 [diff] |
DTC: Add support for a C-like #include "file" mechanism. Keeps track of open files in a stack, and assigns a filenum to source positions for each lexical token. Modified error reporting to show source file as well. No policy on file directory basis has been decided. Still handles stdin. Tested on all arch/powerpc/boot/dts DTS files Signed-off-by: Jon Loeliger <jdl@freescale.com>