diff options
author | Marius <mariausol@gmail.com> | 2013-05-31 23:40:49 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-05-31 23:40:49 +0300 |
commit | 9a194c86a8d31ce7f07712961e5ec72023a00823 (patch) | |
tree | f5a34823fdacf9be583a3f63faa14b39177759bd /tex/context/base/lxml-tab.lua | |
parent | cc1c43092378e4bb53255c8aa165a6063f829c33 (diff) | |
download | context-9a194c86a8d31ce7f07712961e5ec72023a00823.tar.gz |
beta 2013.05.31 21:57
Diffstat (limited to 'tex/context/base/lxml-tab.lua')
-rw-r--r-- | tex/context/base/lxml-tab.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/lxml-tab.lua b/tex/context/base/lxml-tab.lua index 2bb5844fc..9d2266886 100644 --- a/tex/context/base/lxml-tab.lua +++ b/tex/context/base/lxml-tab.lua @@ -34,6 +34,8 @@ as the current variant was written when <l n='lpeg'/> showed up and it's easier build tables in one go.</p> --ldx]]-- +lpeg.setmaxstack(1000) -- deeply nested xml files + xml = xml or { } local xml = xml @@ -627,7 +629,6 @@ local publicdoctype = doctypename * somespace * P("PUBLIC") * somespace * val local systemdoctype = doctypename * somespace * P("SYSTEM") * somespace * value * somespace * doctypeset local simpledoctype = (1-close)^1 -- * balanced^0 local somedoctype = C((somespace * (publicdoctype + systemdoctype + definitiondoctype + simpledoctype) * optionalspace)^0) -local somedoctype = C((somespace * (publicdoctype + systemdoctype + definitiondoctype + simpledoctype) * optionalspace)^0) local instruction = (spacing * begininstruction * someinstruction * endinstruction) / function(...) add_special("@pi@",...) end local comment = (spacing * begincomment * somecomment * endcomment ) / function(...) add_special("@cm@",...) end |