From 7fc4b935d045c84e89459e726ff54ae331e4c574 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sun, 29 Oct 2017 16:50:11 +0100 Subject: 2017-10-29 15:50:00 --- metapost/context/base/mpiv/mp-luas.mpiv | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'metapost') diff --git a/metapost/context/base/mpiv/mp-luas.mpiv b/metapost/context/base/mpiv/mp-luas.mpiv index 99df0b861..d35701ec6 100644 --- a/metapost/context/base/mpiv/mp-luas.mpiv +++ b/metapost/context/base/mpiv/mp-luas.mpiv @@ -49,13 +49,13 @@ boolean context_luas ; context_luas := true ; % % Fourth variant: -string mfun_lua_bs ; mfun_lua_bs = "[[" ; -string mfun_lua_es ; mfun_lua_es = "]]" ; +string mfun_lua_bs ; mfun_lua_bs := "[[" ; +string mfun_lua_es ; mfun_lua_es := "]]" ; vardef mlib_luas_luacall(text t) = runscript("" for s = t : if string s : - & mfun_lua_bs & s & mfun_lua_es + & s elseif numeric s : & decimal s elseif boolean s : @@ -75,6 +75,7 @@ vardef mlib_luas_lualist(expr c)(text t) = hide(b := true) fi if string s : + % & ditto & s & ditto & mfun_lua_bs & s & mfun_lua_es elseif numeric s : & decimal s -- cgit v1.2.3