summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@gmail.com>2021-07-23 13:06:31 +0100
committerAndreas Kling <kling@serenityos.org>2021-07-31 00:18:11 +0200
commite54531244fc9791ce5adab65e33b4512bd5baaf6 (patch)
treeef07989dcb26369272df75877ceef9f608f125f7 /AK
parentaf045cee228cdbb779ae2d9bfc440f8a24f1fdea (diff)
downloadserenity-e54531244fc9791ce5adab65e33b4512bd5baaf6.zip
LibWeb: Define proper debug symbols for CSS Parser and Tokenizer
You can now turn debug logging for them on using `CSS_PARSER_DEBUG` and `CSS_TOKENIZER_DEBUG`.
Diffstat (limited to 'AK')
-rw-r--r--AK/Debug.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/AK/Debug.h.in b/AK/Debug.h.in
index 5b0d8178d3..94b976fd29 100644
--- a/AK/Debug.h.in
+++ b/AK/Debug.h.in
@@ -62,6 +62,14 @@
#cmakedefine01 CSS_LOADER_DEBUG
#endif
+#ifndef CSS_PARSER_DEBUG
+#cmakedefine01 CSS_PARSER_DEBUG
+#endif
+
+#ifndef CSS_TOKENIZER_DEBUG
+#cmakedefine01 CSS_TOKENIZER_DEBUG
+#endif
+
#ifndef CURSOR_TOOL_DEBUG
#cmakedefine01 CURSOR_TOOL_DEBUG
#endif