summaryrefslogtreecommitdiff
path: root/Master/texmf/asymptote/plain_constants.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-31 23:08:27 +0000
committerKarl Berry <karl@freefriends.org>2012-05-31 23:08:27 +0000
commit43302e4235ec0431ecd3365616212c18892d6187 (patch)
tree265e5d6b8af761d19b3ad3cfc6de4a36696c8857 /Master/texmf/asymptote/plain_constants.asy
parent359f8fc550d95dcb9c5cae523b0f28a117ca4996 (diff)
asymptote 2.16
git-svn-id: svn://tug.org/texlive/trunk@26747 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/asymptote/plain_constants.asy')
-rw-r--r--Master/texmf/asymptote/plain_constants.asy8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf/asymptote/plain_constants.asy b/Master/texmf/asymptote/plain_constants.asy
index d41cfb770b8..bf6988d4c42 100644
--- a/Master/texmf/asymptote/plain_constants.asy
+++ b/Master/texmf/asymptote/plain_constants.asy
@@ -57,8 +57,8 @@ bool finite(triple v)
return abs(v.x) < infinity && abs(v.y) < infinity && abs(v.z) < infinity;
}
-restricted file stdin=input("");
-restricted file stdout=output("");
+restricted file stdin=input();
+restricted file stdout=output();
void none(file file) {}
void endl(file file) {write(file,'\n',flush);}
@@ -101,8 +101,8 @@ struct bool3 {
void write(file file, string s="", bool3 b, suffix suffix=none)
{
- if(b.set) write(b.value);
- else write("default");
+ if(b.set) write(b.value,suffix);
+ else write("default",suffix);
}
void write(string s="", bool3 b, suffix suffix=endl)