diff options
author | David Robillard <d@drobilla.net> | 2010-12-09 05:39:28 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-09 05:39:28 +0000 |
commit | d92de14f7d8354004edb14ed5658d5f434ce1e31 (patch) | |
tree | 970d72a20d99c34289d2f70d4776e3583f4cdbbb | |
parent | 9907a4b8ffec03f30b9fa0e4e0a2c92f16e9a356 (diff) | |
download | resp-d92de14f7d8354004edb14ed5658d5f434ce1e31.tar.gz resp-d92de14f7d8354004edb14ed5658d5f434ce1e31.tar.bz2 resp-d92de14f7d8354004edb14ed5658d5f434ce1e31.zip |
Fix indentation.
git-svn-id: http://svn.drobilla.net/resp/resp@327 ad02d1e2-f140-0410-9f75-f8b11f17cedd
-rw-r--r-- | src/lift.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lift.cpp b/src/lift.cpp index 4e2159b..ad377d7 100644 --- a/src/lift.cpp +++ b/src/lift.cpp @@ -33,14 +33,12 @@ lift_symbol(CEnv& cenv, Code& code, const ASymbol* sym) throw() if (!cenv.liftStack.empty() && cenv.name(cenv.liftStack.top().fn) == sym->sym()) { return cenv.penv.sym("_me"); // Reference to innermost function } else if (!cenv.code.innermost(sym)) { - - const int32_t index = cenv.liftStack.top().index(sym); - // Replace symbol with code to access free variable from closure + const int32_t index = cenv.liftStack.top().index(sym); return tup<ATuple>(sym->loc, cenv.penv.sym("."), cenv.penv.sym("_me"), new ALiteral<int32_t>(T_INT32, index, Cursor()), - NULL); + NULL); } else { return sym; } |