diff options
author | David Robillard <d@drobilla.net> | 2010-12-29 18:21:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-29 18:21:38 +0000 |
commit | 16e20e1ddf652d45bf041d557bdc3becbbc5d99d (patch) | |
tree | bfa63452c1e3c6743bee3ad7830bcaff3a445a90 /src | |
parent | 0cbe31fcf90899f40c782f171f8bac8436b68d79 (diff) | |
download | resp-16e20e1ddf652d45bf041d557bdc3becbbc5d99d.tar.gz resp-16e20e1ddf652d45bf041d557bdc3becbbc5d99d.tar.bz2 resp-16e20e1ddf652d45bf041d557bdc3becbbc5d99d.zip |
Don't add __unreachable to free vars.
git-svn-id: http://svn.drobilla.net/resp/resp@372 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src')
-rw-r--r-- | src/lift.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lift.cpp b/src/lift.cpp index 799c1e7..8a6c4b0 100644 --- a/src/lift.cpp +++ b/src/lift.cpp @@ -39,7 +39,7 @@ lift_symbol(CEnv& cenv, Code& code, const ASymbol* sym) throw() // Reference to innermost function, replace with "_me" return cenv.penv.sym("_me"); - } else if (!cenv.code.innermost(sym)) { + } else if (!cenv.code.innermost(sym) && strcmp(sym->sym(), "__unreachable")) { /* Free variable, replace with "(. _me i)" where i is the index * of the free variable in the closure. * If this free variable hasn't been encountered yet, it is appended |