mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 22:42:08 +00:00
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
This commit is contained in:
parent
6b7602d33b
commit
adbb8d62d1
6 changed files with 18 additions and 18 deletions
|
@ -34,11 +34,11 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define PARSE_ASSERT(x) \
|
||||
if (!(x)) { \
|
||||
dbg() << "CSS PARSER ASSERTION FAILED: " << #x; \
|
||||
dbg() << "At character# " << index << " in CSS: _" << css << "_"; \
|
||||
ASSERT_NOT_REACHED(); \
|
||||
#define PARSE_ASSERT(x) \
|
||||
if (!(x)) { \
|
||||
dbgln("CSS PARSER ASSERTION FAILED: {}", #x); \
|
||||
dbgln("At character# {} in CSS: _{}_", index, css); \
|
||||
ASSERT_NOT_REACHED(); \
|
||||
}
|
||||
|
||||
#define PARSE_ERROR() \
|
||||
|
@ -764,7 +764,7 @@ public:
|
|||
|
||||
auto property_id = CSS::property_id_from_string(property_name);
|
||||
if (property_id == CSS::PropertyID::Invalid) {
|
||||
dbg() << "CSSParser: Unrecognized property '" << property_name << "'";
|
||||
dbgln("CSSParser: Unrecognized property '{}'", property_name);
|
||||
}
|
||||
auto value = parse_css_value(m_context, property_value, property_id);
|
||||
if (!value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue