platform_external_dtc/tests/prop-after-subnode.dts
David Gibson c048102f5b dtc: Generate useful error message for properties after subnodes
On several occasions, I've accidentally put properties after subnodes
in a dts file.  I've then spent ages thinking that the resulting
syntax error was because of something else.

This patch arranges for this specific syntax error to generate a more
specific and useful error message.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2007-12-05 08:27:46 -06:00

9 lines
51 B
Text

/dts-v1/;
/ {
node1 {
};
prop;
node2 {
};
};