Fix ** right-associativity, and clarify docs (#1566)

This commit is contained in:
Sylvie
2024-12-03 20:40:50 -05:00
committed by GitHub
parent 6982c8a116
commit 0b147c9386
3 changed files with 55 additions and 15 deletions

View File

@@ -140,7 +140,7 @@
%left OP_SHL OP_SHR OP_USHR
%left OP_MUL OP_DIV OP_MOD
%precedence NEG // applies to unary OP_LOGICNOT, OP_ADD, OP_SUB, OP_NOT
%left OP_EXP
%right OP_EXP
// Assignment operators (only for variables)
%token POP_EQUAL "="