Juan571 / js2-mode

Automatically exported from code.google.com/p/js2-mode
0 stars 0 forks source link

Empty multiline comments parsed incorrectly #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Empty multiline comments of the form /**/ appear to be improperly parsed.
If I write /**/foo/**/ the entire thing, including "foo", is highlighted as
a comment. Just putting /**/ highlights everything following it as a syntax
error.

Original issue reported on code.google.com by Nex...@gmail.com on 2 Apr 2008 at 5:51

GoogleCodeExporter commented 8 years ago
Nice catch.  Will fix asap.

Original comment by steve.ye...@gmail.com on 14 Apr 2008 at 11:25

GoogleCodeExporter commented 8 years ago
Was a scanner bug I introduced when adding support for jsdoc comments.
Will be fixed in next release.

Original comment by steve.ye...@gmail.com on 16 Apr 2008 at 9:07

GoogleCodeExporter commented 8 years ago

Original comment by steve.ye...@gmail.com on 16 Apr 2008 at 9:43

GoogleCodeExporter commented 8 years ago

Original comment by steve.ye...@gmail.com on 19 Apr 2008 at 10:52