diff options
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/parser/grammar.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/parser/grammar.lua b/server/src/parser/grammar.lua index 4c087024..c76fe1f1 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 @@ -170,7 +170,7 @@ MulsList <- '*' / '/' / '%' Unary <- Sp {UnaryList} -UnaryList <- 'not' +UnaryList <- NOT / '#' / '-' / '~' |