summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/exp.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-18 23:24:00 +0000
committerKarl Berry <karl@freefriends.org>2010-06-18 23:24:00 +0000
commit47fea6d4aa5c9cfb2e71c51f769dac3023630035 (patch)
tree6a4b15f0b85d8bb5602146e20241b49e938f409b /Build/source/utils/asymptote/exp.h
parent0dfdf5c49b160d464b74a9cae8882ea81cc47878 (diff)
asy 1.99
git-svn-id: svn://tug.org/texlive/trunk@19047 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/exp.h')
-rw-r--r--Build/source/utils/asymptote/exp.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Build/source/utils/asymptote/exp.h b/Build/source/utils/asymptote/exp.h
index f3d086dcba3..fa4e464a5b4 100644
--- a/Build/source/utils/asymptote/exp.h
+++ b/Build/source/utils/asymptote/exp.h
@@ -675,11 +675,11 @@ public:
return args.size();
}
- virtual argument operator[] (size_t index) {
+ virtual argument& operator[] (size_t index) {
return args[index];
}
- virtual argument getRest() {
+ virtual argument& getRest() {
return rest;
}
};
@@ -718,8 +718,9 @@ private:
// Caches either the application object used to apply the function to the
// arguments, or in cases where the arguments match the function perfectly,
- // the varEntry of the callee.
- void cacheAppOrVarEntry(coenv &e, bool tacit);
+ // the varEntry of the callee (or neither in case of an error). Returns
+ // what getType should return.
+ types::ty *cacheAppOrVarEntry(coenv &e, bool tacit);
types::ty *transPerfectMatch(coenv &e);
public: