diff options
author | David Robillard <d@drobilla.net> | 2010-12-05 01:45:37 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-05 01:45:37 +0000 |
commit | 19ec222ce04979ccd4125ecb6c95a86302ba937c (patch) | |
tree | e89be99e27f774e405e8ed7dd1058b9a837cf53f /src/lift.cpp | |
parent | 931652d4f065c06d9061166c961ff9af6750267e (diff) | |
download | resp-19ec222ce04979ccd4125ecb6c95a86302ba937c.tar.gz resp-19ec222ce04979ccd4125ecb6c95a86302ba937c.tar.bz2 resp-19ec222ce04979ccd4125ecb6c95a86302ba937c.zip |
Simplify parser.
git-svn-id: http://svn.drobilla.net/resp/resp@300 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/lift.cpp')
-rw-r--r-- | src/lift.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lift.cpp b/src/lift.cpp index 10c4707..fe901f0 100644 --- a/src/lift.cpp +++ b/src/lift.cpp @@ -33,9 +33,7 @@ lift_symbol(CEnv& cenv, Code& code, const ASymbol* sym) throw() const std::string& cppstr = sym->cppstr; if (!cenv.liftStack.empty() && cppstr == cenv.name(cenv.liftStack.top().fn)) { return cenv.penv.sym("_me"); // Reference to innermost function - } else if (!cenv.penv.handler(true, cppstr) - && !cenv.penv.handler(false, cppstr) - && !cenv.code.innermost(sym)) { + } else if (!cenv.penv.handler(cppstr) && !cenv.code.innermost(sym)) { const int32_t index = cenv.liftStack.top().index(sym); |