1 /* regexps for lexing comments are.. tricky. Check if we've actually 2 * got it right */ 3 /dts-v1/; 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 **/ 35 prop10; 36 child /* finally */ { 37 }; 38 }; 39 /* final comment */ 40