diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-03-24 22:06:19 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-24 21:37:49 +0100 |
commit | 5626e1b32414425de7324a220e969b0ae5101095 (patch) | |
tree | 9a8b3e05e1e138375bf1b38ba3330bf5e08a2402 /Userland/Libraries/LibWeb/HTML/Parser | |
parent | 1499d2421e9f95071774f70a56deeee0a65a1eac (diff) | |
download | serenity-5626e1b32414425de7324a220e969b0ae5101095.zip |
LibWeb: Rename PARSER_DEBUG => HTML_PARSER_DEBUG
Since this macro was created we gained a couple more parsers in the
system :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/Parser')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp b/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp index b8731acec0..c0da3e8b60 100644 --- a/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp +++ b/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp @@ -162,7 +162,7 @@ void HTMLParser::run() break; auto& token = optional_token.value(); - dbgln_if(PARSER_DEBUG, "[{}] {}", insertion_mode_name(), token.to_string()); + dbgln_if(HTML_PARSER_DEBUG, "[{}] {}", insertion_mode_name(), token.to_string()); // https://html.spec.whatwg.org/multipage/parsing.html#tree-construction-dispatcher // As each token is emitted from the tokenizer, the user agent must follow the appropriate steps from the following list, known as the tree construction dispatcher: @@ -189,7 +189,7 @@ void HTMLParser::run() } if (m_stop_parsing) { - dbgln_if(PARSER_DEBUG, "Stop parsing{}! :^)", m_parsing_fragment ? " fragment" : ""); + dbgln_if(HTML_PARSER_DEBUG, "Stop parsing{}! :^)", m_parsing_fragment ? " fragment" : ""); break; } } |