summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/env.cc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-05-28 02:18:52 +0000
committerKarl Berry <karl@freefriends.org>2011-05-28 02:18:52 +0000
commitc59fe5fe4739f0c61560f05d4e42b4e552219b27 (patch)
tree8cf79e85e394b3177a28d374415840a4e0a025ad /Build/source/utils/asymptote/env.cc
parent771db15706dbf3f4af8b630dcb15646a3e5fda00 (diff)
asy 2.10
git-svn-id: svn://tug.org/texlive/trunk@22633 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/env.cc')
-rw-r--r--Build/source/utils/asymptote/env.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/Build/source/utils/asymptote/env.cc b/Build/source/utils/asymptote/env.cc
index 91edfd41754..09d16f21a04 100644
--- a/Build/source/utils/asymptote/env.cc
+++ b/Build/source/utils/asymptote/env.cc
@@ -1,5 +1,5 @@
/*****
- * env.h
+ * env.cc
* Andy Hammerlindl 2002/6/20
*
* Keeps track of the namespaces of variables and types when traversing
@@ -13,10 +13,6 @@
using namespace types;
-namespace absyntax {
-void clearCachedCalls();
-}
-
namespace trans {
// Instances of this class are passed to types::ty objects so that they can call
@@ -88,7 +84,6 @@ bool protoenv::castable(ty *target, ty *source, symbol name) {
return ct.test(target,source);
}
-#ifdef FASTCAST
bool protoenv::fastCastable(ty *target, ty *source) {
assert(target->kind != types::ty_overloaded);
assert(target->kind != types::ty_error);
@@ -150,7 +145,6 @@ access *protoenv::fastLookupCast(ty *target, ty *source) {
// Fall back on slow routine.
return lookupCast(target, source, symbol::castsym);
}
-#endif
ty *protoenv::castTarget(ty *target, ty *source, symbol name) {