diff options
Diffstat (limited to 'server/src/parser')
-rw-r--r-- | server/src/parser/grammar.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/parser/grammar.lua b/server/src/parser/grammar.lua index 00c3dbdb..dcc02ad0 100644 --- a/server/src/parser/grammar.lua +++ b/server/src/parser/grammar.lua @@ -70,6 +70,8 @@ defs.Reserved = function (_, _, str) end defs.np = m.Cp() / function (n) return n+1 end +m.setmaxstack(1000) + local eof = re.compile '!. / %{SYNTAX_ERROR}' local function grammar(tag) |