summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Libraries/LibWeb/Parser/HTMLTokenizer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Libraries/LibWeb/Parser/HTMLTokenizer.cpp b/Libraries/LibWeb/Parser/HTMLTokenizer.cpp
index 41559630fd..6fa7554c44 100644
--- a/Libraries/LibWeb/Parser/HTMLTokenizer.cpp
+++ b/Libraries/LibWeb/Parser/HTMLTokenizer.cpp
@@ -34,10 +34,14 @@
//#define TOKENIZER_TRACE
+#ifdef TOKENIZER_TRACE
#define PARSE_ERROR() \
do { \
dbg() << "Parse error (tokenization)" << __PRETTY_FUNCTION__ << " @ " << __LINE__; \
} while (0)
+#else
+#define PARSE_ERROR()
+#endif
#define CONSUME_NEXT_INPUT_CHARACTER \
current_input_character = next_codepoint();