diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-08-19 20:32:31 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-08-19 20:32:31 +0200 |
commit | af60125ab3fa9e482720f0f46c2143fa08512113 (patch) | |
tree | 3e85c8a8a5979ebd05b891f8ecfb93d1b69ac41b /tex/context/base/mkxl/mlib-run.lmt | |
parent | d3d93bc4f0d21a259fdafee5ba1a744999474c28 (diff) | |
download | context-af60125ab3fa9e482720f0f46c2143fa08512113.tar.gz |
2021-08-19 19:43:00
Diffstat (limited to 'tex/context/base/mkxl/mlib-run.lmt')
-rw-r--r-- | tex/context/base/mkxl/mlib-run.lmt | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/tex/context/base/mkxl/mlib-run.lmt b/tex/context/base/mkxl/mlib-run.lmt index 3e950a2d9..bf3d5434a 100644 --- a/tex/context/base/mkxl/mlib-run.lmt +++ b/tex/context/base/mkxl/mlib-run.lmt @@ -379,49 +379,6 @@ function metapost.reset(mpx) end end --- key/values - -do - - local stack, top = { }, nil - - function metapost.setvariable(k,v) - if top then - top[k] = v - else - metapost.variables[k] = v - end - end - - function metapost.pushvariable(k) - local t = { } - if top then - insert(stack,top) - top[k] = t - else - metapost.variables[k] = t - end - top = t - end - - function metapost.popvariable() - top = remove(stack) - end - - local stack = { } - - function metapost.pushvariables() - insert(stack,metapost.variables) - metapost.variables = { } - end - - function metapost.popvariables() - metapost.variables = remove(stack) or metapost.variables - end - -end - - if not metapost.process then function metapost.process(specification) |