summaryrefslogtreecommitdiff
path: root/metapost/context/base/mpiv/mp-luas.mpiv
diff options
context:
space:
mode:
Diffstat (limited to 'metapost/context/base/mpiv/mp-luas.mpiv')
-rw-r--r--metapost/context/base/mpiv/mp-luas.mpiv6
1 files changed, 5 insertions, 1 deletions
diff --git a/metapost/context/base/mpiv/mp-luas.mpiv b/metapost/context/base/mpiv/mp-luas.mpiv
index 3bc95349d..d025848ca 100644
--- a/metapost/context/base/mpiv/mp-luas.mpiv
+++ b/metapost/context/base/mpiv/mp-luas.mpiv
@@ -56,13 +56,15 @@ vardef mlib_luas_luacall(text t) =
runscript("" for s = t :
if string s :
& s
-% & mfun_lua_bs & s & mfun_lua_es
+ % & mfun_lua_bs & s & mfun_lua_es
elseif numeric s :
& decimal s
elseif boolean s :
& if s : "true" else : "false" fi
elseif pair s :
& mfun_pair_to_table(s)
+ elseif path s :
+ & mfun_path_to_table(s)
elseif rgbcolor s :
& mfun_rgb_to_table(s)
elseif cmykcolor s :
@@ -90,6 +92,8 @@ vardef mlib_luas_lualist(expr c)(text t) =
& if s : "true" else : "false" fi
elseif pair s :
& mfun_pair_to_table(s)
+ elseif path s :
+ & mfun_path_to_table(s)
elseif rgbcolor s :
& mfun_rgb_to_table(s)
elseif cmykcolor s :