mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 14:19:48 +00:00
LibJS: Handle HTML-style comments
This commit is contained in:
parent
9962db5bf8
commit
9477efe970
Notes:
sideshowbarker
2024-07-19 07:36:43 +09:00
Author: https://github.com/sunverwerth
Commit: 9477efe970
Pull-request: https://github.com/SerenityOS/serenity/pull/1788
3 changed files with 63 additions and 16 deletions
|
@ -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*);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue