diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-08-20 19:19:52 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-08-20 19:19:52 +0200 |
commit | f6e7648f6126ffe087071531f03c674be32930f1 (patch) | |
tree | 2f2346b6d7cc3178c1ea7b3239b603c6f00e3493 /tex/context/base/mkiv/node-nut.lua | |
parent | f72c2cf29d36ae836c894bad29dfd965d1af0236 (diff) | |
download | context-f6e7648f6126ffe087071531f03c674be32930f1.tar.gz |
2019-08-20 17:28:00
Diffstat (limited to 'tex/context/base/mkiv/node-nut.lua')
-rw-r--r-- | tex/context/base/mkiv/node-nut.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tex/context/base/mkiv/node-nut.lua b/tex/context/base/mkiv/node-nut.lua index 158f74a98..6c4b034c9 100644 --- a/tex/context/base/mkiv/node-nut.lua +++ b/tex/context/base/mkiv/node-nut.lua @@ -408,13 +408,13 @@ if not nuts.getpre then local d_getdisc = direct.getdisc local d_setfield = direct.setfield - function nuts.getpre(d) local h, _, _, t, _, _ = d_getdisc(d,true) return h, t end - function nuts.getpost(d) local _, h, _, _, t, _ = d_getdisc(d,true) return h, t end - function nuts.getreplace(d) local _, _, h, _, _, t = d_getdisc(d,true) return h, t end + function nuts.getpre (n) local h, _, _, t, _, _ = d_getdisc(n,true) return h, t end + function nuts.getpost (n) local _, h, _, _, t, _ = d_getdisc(n,true) return h, t end + function nuts.getreplace(n) local _, _, h, _, _, t = d_getdisc(n,true) return h, t end - function nuts.setpre(d,n) d_setfield("pre", n) end - function nuts.setpost(d,n) d_setfield("post", n) end - function nuts.setreplace(d,n) d_setfield("replace",n) end + function nuts.setpre (n,h) d_setfield(d,"pre", h) end + function nuts.setpost (n,h) d_setfield(d,"post", h) end + function nuts.setreplace(n,h) d_setfield(d,"replace",h) end end |