From 47fea6d4aa5c9cfb2e71c51f769dac3023630035 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 18 Jun 2010 23:24:00 +0000 Subject: asy 1.99 git-svn-id: svn://tug.org/texlive/trunk@19047 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/asymptote/exp.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Build/source/utils/asymptote/exp.h') 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: -- cgit v1.2.3