Skip to content

Commit

Permalink
fixing a typo in the bitwise xor expression
Browse files Browse the repository at this point in the history
  • Loading branch information
FilippoCarloni committed Aug 28, 2024
1 parent 3bb5f66 commit 479128c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions samples/outputs.var_names/sample1
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ STMT_BLOCK
VAR (b_1)
INT_CONST (3)
EXPR_STMT
BITWISE_xOR_EXPR
BITWISE_XOR_EXPR
VAR_EXPR
VAR (a_0)
VAR_EXPR
Expand Down Expand Up @@ -96,7 +96,7 @@ STMT_BLOCK
ASSIGN_EXPR
VAR_EXPR
VAR (a_0)
BITWISE_xOR_EXPR
BITWISE_XOR_EXPR
VAR_EXPR
VAR (a_0)
VAR_EXPR
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/expr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void bitwise_or_expr::dump(std::ostream &oss, int indent) {
}
void bitwise_xor_expr::dump(std::ostream &oss, int indent) {
printer::indent(oss, indent);
oss << "BITWISE_xOR_EXPR" << std::endl;
oss << "BITWISE_XOR_EXPR" << std::endl;
expr1->dump(oss, indent + 1);
expr2->dump(oss, indent + 1);
}
Expand Down

0 comments on commit 479128c

Please sign in to comment.