Parsing HTML-like comments after multiline comment #1828

tdewolff opened this Issue Apr 29, 2017 · 0 comments


None yet
2 participants

tdewolff commented Apr 29, 2017

Using I found that Esprima doesn't follow the ECMAScript spec related to HTML-like comments:

ident /* multiline
comment */ -->

outputs Error: Line 3: Unexpected token >, which is incorrect. It should parse a MultiLineComment as per the spec link above.

@ariya ariya added the defect label May 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment