summaryrefslogtreecommitdiffhomepage
path: root/include/ucode/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ucode/compiler.h')
-rw-r--r--include/ucode/compiler.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/ucode/compiler.h b/include/ucode/compiler.h
index c112027..ffe7caf 100644
--- a/include/ucode/compiler.h
+++ b/include/ucode/compiler.h
@@ -37,11 +37,11 @@ typedef enum {
P_COMMA, /* , */
- P_ASSIGN, /* = += -= *= /= %= <<= >>= &= ^= |= */
+ P_ASSIGN, /* = += -= *= /= %= <<= >>= &= ^= |= ||= &&= **= ??= */
P_TERNARY, /* ?: */
- P_OR, /* || */
+ P_OR, /* || ?? */
P_AND, /* && */
P_BOR, /* | */
P_BXOR, /* ^ */
@@ -55,6 +55,8 @@ typedef enum {
P_ADD, /* + - */
P_MUL, /* * / % */
+ P_EXP, /* ** */
+
P_UNARY, /* ! ~ +… -… ++… --… */
P_INC, /* …++ …-- */