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.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/src/parser/grammar.lua b/server/src/parser/grammar.lua
index 42e52d05..b5e083e6 100644
--- a/server/src/parser/grammar.lua
+++ b/server/src/parser/grammar.lua
@@ -55,6 +55,7 @@ defs.er = '\r'
defs.et = '\t'
defs.ev = '\v'
defs['nil'] = m.Cp() / function () return nil end
+defs['false'] = m.Cp() / function () return false end
defs.NotReserved = function (_, _, str)
if RESERVED[str] then
return false
@@ -386,9 +387,9 @@ CrtAction <- Semicolon
/ Call
/ ExpInAction
UnkAction <- ({} {Word+})
- -> UnknownSymbol
+ -> UnknownAction
/ ({} {. (!Sps !CrtAction .)*})
- -> UnknownSymbol
+ -> UnknownAction
ExpInAction <- Sp ({} Exp {})
-> ExpInAction