David Gibson | fc14dad | 2005-06-08 17:18:34 +1000 | [diff] [blame] | 1 | /* regexps for lexing comments are.. tricky. Check if we've actually |
2 | * got it right */ | ||||
David Gibson | d8b6942 | 2008-02-15 15:14:16 +1100 | [diff] [blame] | 3 | /dts-v1/; |
David Gibson | fc14dad | 2005-06-08 17:18:34 +1000 | [diff] [blame] | 4 | |
5 | / { | ||||
6 | // line comment | ||||
7 | prop1; | ||||
8 | /* comment */ | ||||
9 | prop2; | ||||
10 | /* multiline | ||||
11 | |||||
12 | notaprop1; | ||||
13 | |||||
14 | comment */ | ||||
15 | prop3; | ||||
16 | /**/ | ||||
17 | prop4; | ||||
18 | /***/ | ||||
19 | prop5; | ||||
20 | /****/ | ||||
21 | prop6; | ||||
22 | /* another | ||||
23 | * multiline | ||||
24 | * comment */ | ||||
25 | prop7; | ||||
26 | /* yet | ||||
27 | * another | ||||
28 | * multline | ||||
29 | * comment | ||||
30 | */ | ||||
31 | prop8; | ||||
32 | /** try this */ | ||||
33 | prop9; | ||||
34 | /* and this **/ | ||||
David Gibson | 4102d84 | 2005-06-16 14:36:37 +1000 | [diff] [blame] | 35 | prop10; |
36 | child /* finally */ { | ||||
37 | }; | ||||
David Gibson | fc14dad | 2005-06-08 17:18:34 +1000 | [diff] [blame] | 38 | }; |
39 | /* final comment */ |