aboutsummaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h
index 3cf4292..fdb1a79 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -84,6 +84,14 @@ enum {
/* Binary xor
‘lhs ~ rhs’ */
ASTBINXOR = '~',
+
+ /* Binary left shift
+ ‘lhs << rhs’ */
+ ASTBINSHL = UINT8_MAX - 2,
+
+ /* Binary right shift
+ ‘lhs >> rhs’ */
+ ASTBINSHR = UINT8_MAX - 0,
};
#define AST_EMPTY ((idx_t)-1)