mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +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
4953c73fc1
commit
01879d27c2
12 changed files with 33 additions and 23 deletions
|
@ -62,7 +62,7 @@ ALWAYS_INLINE Token Parser::consume(TokenType type, Error error)
|
|||
{
|
||||
if (m_parser_state.current_token.type() != type) {
|
||||
set_error(error);
|
||||
dbg() << "[PARSER] Error: Unexpected token " << m_parser_state.current_token.name() << ". Expected: " << Token::name(type);
|
||||
dbgln("[PARSER] Error: Unexpected token {}. Expected: {}", m_parser_state.current_token.name(), Token::name(type));
|
||||
}
|
||||
return consume();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue