summaryrefslogtreecommitdiff
path: root/05/constants.b
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-01-13 20:29:52 -0500
committerpommicket <pommicket@gmail.com>2022-01-13 20:29:52 -0500
commit53ddd5803edb723b969949d7ee17816052e6f789 (patch)
treefe1d54002b8c3df3fe81186d522714c738de4774 /05/constants.b
parente44bc4976add29f5cc1b9efddb4f6926b0116e9b (diff)
more binop stuff
Diffstat (limited to '05/constants.b')
-rw-r--r--05/constants.b6
1 files changed, 3 insertions, 3 deletions
diff --git a/05/constants.b b/05/constants.b
index bd5c57a..24fd005 100644
--- a/05/constants.b
+++ b/05/constants.b
@@ -21,7 +21,7 @@
; c + -
; d * / %
; e8 cast
-; e unary prefixes ++ -- & * + - ~ !
+; e sizeof, unary prefixes ++ -- & * + - ~ !
; f . -> () [] postfix ++ --
; highest
; NB: for equal precedence, operators are applied left-to-right except for assignment operators (precedence 2)
@@ -174,8 +174,8 @@
#define EXPRESSION_BITWISE_AND 233
#define EXPRESSION_BITWISE_XOR 234
#define EXPRESSION_BITWISE_OR 235
-#define EXPRESSION_AND 236
-#define EXPRESSION_OR 237
+#define EXPRESSION_LOGICAL_AND 236
+#define EXPRESSION_LOGICAL_OR 237
; e.g. x == 5 ? 6 : 7
#define EXPRESSION_CONDITIONAL 238
#define EXPRESSION_ASSIGN 239