diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-12-05 09:40:23 +1100 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-12-05 08:27:28 -0600 |
commit | 459c955cca6adfa393b9279ee595c60e199dbffe (patch) | |
tree | ab72d1f5cdda0dbc706d8611e3b879baecea6e82 /dtc-lexer.l | |
parent | d06cda32f6428601b4b2278a0286aa2b7a172eb1 (diff) | |
download | device-tree-compiler-459c955cca6adfa393b9279ee595c60e199dbffe.tar.gz |
dtc: Convert "name" property checking to new infrastructure
This patch removes the old-style checking code for the "name" property
- i.e. verifying that the "name" property, if present, matches the
node name. It replaces it with a pair of more-or-less equivalent
checks in the new checking framework.
This also promotes this check to a "structural" check, or at least an
error-rather-than-warning test, since the structural/semantic
distinction doesn't really apply in the new framework.
A testcase for the check is also added.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc-lexer.l')
0 files changed, 0 insertions, 0 deletions