diff options
| author | Josh Wolfe <thejoshwolfe@gmail.com> | 2017-09-20 21:37:56 -0700 |
|---|---|---|
| committer | Josh Wolfe <thejoshwolfe@gmail.com> | 2017-09-20 21:37:56 -0700 |
| commit | 4c8443d96db4a441b393ea0c3c8d76a7493f46d0 (patch) | |
| tree | c608163493a3329e1e8b82e0e1b83c2fcb76e610 /src/ast_render.cpp | |
| parent | 05c1a8b3cc09860052c7dba2a795ada5f7e00811 (diff) | |
| download | zig-4c8443d96db4a441b393ea0c3c8d76a7493f46d0.tar.gz zig-4c8443d96db4a441b393ea0c3c8d76a7493f46d0.zip | |
logical and, logical or
Diffstat (limited to 'src/ast_render.cpp')
| -rw-r--r-- | src/ast_render.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast_render.cpp b/src/ast_render.cpp index 1ac9d8de79..a68e1efc58 100644 --- a/src/ast_render.cpp +++ b/src/ast_render.cpp @@ -14,8 +14,8 @@ static const char *bin_op_str(BinOpType bin_op) { switch (bin_op) { case BinOpTypeInvalid: return "(invalid)"; - case BinOpTypeBoolOr: return "||"; - case BinOpTypeBoolAnd: return "&&"; + case BinOpTypeBoolOr: return "or"; + case BinOpTypeBoolAnd: return "and"; case BinOpTypeCmpEq: return "=="; case BinOpTypeCmpNotEq: return "!="; case BinOpTypeCmpLessThan: return "<"; |
