summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/table.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-19 23:59:33 +0000
committerKarl Berry <karl@freefriends.org>2010-04-19 23:59:33 +0000
commitdddce3148a2bc785603576b18ffcf72d39adbe47 (patch)
tree14f4c79ef11bcf0820a8d4ff2ab0c5ac009c365c /Build/source/utils/asymptote/table.h
parenta01e51b01f5819b6091af48cdca581e9f2a9282e (diff)
asy 1.93
git-svn-id: svn://tug.org/texlive/trunk@17934 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/table.h')
-rw-r--r--Build/source/utils/asymptote/table.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/Build/source/utils/asymptote/table.h b/Build/source/utils/asymptote/table.h
index e8717cfa8ed..cd8f26d2278 100644
--- a/Build/source/utils/asymptote/table.h
+++ b/Build/source/utils/asymptote/table.h
@@ -43,10 +43,6 @@ public :
void enter(symbol *key, B value);
B look(symbol *key);
- // Checks if a symbol was added in the last scope. Useful for
- // stopping multiple definitions.
- B lookInTopScope(symbol *key);
-
// Allows scoping and overloading of symbols of the same name
void beginScope();
void endScope();
@@ -83,15 +79,6 @@ inline B table<B>::look(symbol *key)
}
template <class B>
-inline B table<B>::lookInTopScope(symbol *key)
-{
- scope_iterator p = scopes.front().find(key);
- if (p!=scopes.front().end())
- return p->second;
- return 0;
-}
-
-template <class B>
inline void table<B>::beginScope()
{
scopes.push_front(scope_t());