1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 17:25:06 +00:00

LibJS: Handle HTML-style comments

This commit is contained in:
Stephan Unverwerth 2020-04-13 19:50:58 +02:00 committed by Andreas Kling
parent 9962db5bf8
commit 9477efe970
3 changed files with 63 additions and 16 deletions

View file

@ -56,6 +56,9 @@ private:
bool is_block_comment_start() const;
bool is_block_comment_end() const;
bool is_numeric_literal_start() const;
bool match(char, char) const;
bool match(char, char, char) const;
bool match(char, char, char, char) const;
void syntax_error(const char*);