summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/table.h
diff options
context:
space:
mode:
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());