Browse Source
For ages dtc has included a sample dts, comment-test.dts, for checking various lexical corner cases in comment processing. In fact, it predates the automated testsuite, and has never been integrated into it. This patch addresses this oversight, folding the comment handling test in with the rest of the testsuite. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>main
David Gibson
17 years ago
committed by
Jon Loeliger
3 changed files with 21 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||||
|
/dts-v1/; |
||||||
|
|
||||||
|
/ { |
||||||
|
prop1; |
||||||
|
prop2; |
||||||
|
prop3; |
||||||
|
prop4; |
||||||
|
prop5; |
||||||
|
prop6; |
||||||
|
prop7; |
||||||
|
prop8; |
||||||
|
prop9; |
||||||
|
prop10; |
||||||
|
child { |
||||||
|
}; |
||||||
|
}; |
@ -1,5 +1,6 @@ |
|||||||
/* regexps for lexing comments are.. tricky. Check if we've actually |
/* regexps for lexing comments are.. tricky. Check if we've actually |
||||||
* got it right */ |
* got it right */ |
||||||
|
/dts-v1/; |
||||||
|
|
||||||
/ { |
/ { |
||||||
// line comment |
// line comment |
Loading…
Reference in new issue