summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-12-29 20:40:28 +0200
committerMarius <mariausol@gmail.com>2013-12-29 20:40:28 +0200
commit07affb8dd8042a83c7d54d7c0bb7137ce04f987f (patch)
tree85c7b454bfa0651f7b84586fec41a6c604dc3462 /metapost
parent0d26f9ebc9ba7dca60bf49c5de8ca6c1c197c608 (diff)
downloadcontext-07affb8dd8042a83c7d54d7c0bb7137ce04f987f.tar.gz
beta 2013.12.29 19:28
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/metafun.mpiv8
1 files changed, 5 insertions, 3 deletions
diff --git a/metapost/context/base/metafun.mpiv b/metapost/context/base/metafun.mpiv
index 601b0562e..a113675e6 100644
--- a/metapost/context/base/metafun.mpiv
+++ b/metapost/context/base/metafun.mpiv
@@ -44,8 +44,10 @@ string metafunversion ; metafunversion =
let normalend = end ;
-def end =
- ; message "" ; message metafunversion ; message "" ; normalend ;
-enddef ;
+if known mplib :
+ def end = ; message "" ; message metafunversion ; message "" ; endinput ; enddef ;
+else :
+ def end = ; message "" ; message metafunversion ; message "" ; normalend ; enddef ;
+fi ;
% dump ; % obsolete in mplib