Closed millermedeiros closed 11 years ago
this generates the wrong tokens:
var ast = walker.parse("\n/* foo */\n/* bar */\nfunction foo(){\n var bar = 'baz';\n\n //foo\n //bar\n\n var lorem = 'ipsum';\n return bar + lorem;\n}");
the token /* bar */ is considered a WhiteSpace instead of a BlockComment.
/* bar */
WhiteSpace
BlockComment
this generates the wrong tokens:
the token
/* bar */
is considered aWhiteSpace
instead of aBlockComment
.