aboutsummaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/parser.h b/src/parser.h
index fdb1a79..32acc96 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -81,10 +81,18 @@ enum {
‘lhs % rhs’ */
ASTBINMOD = '%',
- /* Binary xor
+ /* Binary XOR
‘lhs ~ rhs’ */
ASTBINXOR = '~',
+ /* Binary bitwise AND
+ ‘lhs & rhs’ */
+ ASTBINAND = '&',
+
+ /* Binary bitwise OR
+ ‘lhs & rhs’ */
+ ASTBINIOR = '|',
+
/* Binary left shift
‘lhs << rhs’ */
ASTBINSHL = UINT8_MAX - 2,