aboutsummaryrefslogtreecommitdiffstats
path: root/src/lift.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-05 01:45:37 +0000
committerDavid Robillard <d@drobilla.net>2010-12-05 01:45:37 +0000
commit19ec222ce04979ccd4125ecb6c95a86302ba937c (patch)
treee89be99e27f774e405e8ed7dd1058b9a837cf53f /src/lift.cpp
parent931652d4f065c06d9061166c961ff9af6750267e (diff)
downloadresp-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.cpp4
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);