summaryrefslogtreecommitdiff
path: root/server/src/parser/grammar.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/parser/grammar.lua')
-rw-r--r--server/src/parser/grammar.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/parser/grammar.lua b/server/src/parser/grammar.lua
index 4a483514..a125bfe4 100644
--- a/server/src/parser/grammar.lua
+++ b/server/src/parser/grammar.lua
@@ -120,7 +120,7 @@ IF <- Sp 'if' Cut
IN <- Sp 'in' Cut
LOCAL <- Sp 'local' Cut
NIL <- Sp 'nil' Cut
-NOT <- Sp 'not' Cut
+NOT <- Sp 'not' Cut
OR <- Sp {'or'} Cut
REPEAT <- Sp 'repeat' Cut
RETURN <- Sp 'return' Cut
@@ -169,7 +169,7 @@ MulsList <- '*'
/ '//'
/ '/'
/ '%'
-Unary <- Sp {UnaryList}
+Unary <- Sp {} {UnaryList}
UnaryList <- NOT
/ '#'
/ '-'