Run clang-format on project
This commit is contained in:
parent
02a65ebb58
commit
cc5013ec6f
@ -1,7 +1,6 @@
|
||||
#include "UnaryOpNode.h"
|
||||
|
||||
UnaryOpNode::UnaryOpNode(std::shared_ptr<ExprNode> operand)
|
||||
: operand(operand), ExprNode()
|
||||
UnaryOpNode::UnaryOpNode(std::shared_ptr<ExprNode> operand) : operand(operand), ExprNode()
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,7 @@ std::shared_ptr<ASTNode> Parser::parse()
|
||||
if (result.is_error()) result.ethrow();
|
||||
if (current_token->tk_type != TT_EOF)
|
||||
{
|
||||
Err<ExprNode>("expected *, /, + or -",current_token).ethrow();
|
||||
Err<ExprNode>("expected *, /, + or -", current_token).ethrow();
|
||||
}
|
||||
return result.get();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user