File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ Value UnaryExpression::execute(Interpreter& interpreter) const
186
186
{
187
187
auto lhs_result = m_lhs->execute (interpreter);
188
188
switch (m_op) {
189
- case UnaryOp::BitNot :
189
+ case UnaryOp::BitwiseNot :
190
190
return bitwise_not (lhs_result);
191
191
case UnaryOp::Not:
192
192
return Value (!lhs_result.to_boolean ());
@@ -297,7 +297,7 @@ void UnaryExpression::dump(int indent) const
297
297
{
298
298
const char * op_string = nullptr ;
299
299
switch (m_op) {
300
- case UnaryOp::BitNot :
300
+ case UnaryOp::BitwiseNot :
301
301
op_string = " ~" ;
302
302
break ;
303
303
case UnaryOp::Not:
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ class LogicalExpression : public Expression {
304
304
};
305
305
306
306
enum class UnaryOp {
307
- BitNot ,
307
+ BitwiseNot ,
308
308
Not,
309
309
};
310
310
You can’t perform that action at this time.
0 commit comments