aboutsummaryrefslogtreecommitdiffstats
path: root/src/cps.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-07-04 05:02:09 +0000
committerDavid Robillard <d@drobilla.net>2009-07-04 05:02:09 +0000
commit7164809b051050fb4f4877793b9739b6177bcab1 (patch)
treea0ac0ed6731ddf6e453c81a9391566202a6f6c09 /src/cps.cpp
parent9e12b8536648a30377040f407e06ea0713db91b4 (diff)
downloadresp-7164809b051050fb4f4877793b9739b6177bcab1.tar.gz
resp-7164809b051050fb4f4877793b9739b6177bcab1.tar.bz2
resp-7164809b051050fb4f4877793b9739b6177bcab1.zip
Ditch Exp type and use AST even at lex time.
git-svn-id: http://svn.drobilla.net/resp/tuplr@182 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/cps.cpp')
-rw-r--r--src/cps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cps.cpp b/src/cps.cpp
index 75b771f..b8b6b62 100644
--- a/src/cps.cpp
+++ b/src/cps.cpp
@@ -33,7 +33,7 @@ AST::cps(TEnv& tenv, AST* cont)
AST*
AFn::cps(TEnv& tenv, AST* cont)
{
- ATuple* copyProt = new ATuple(prot()->loc, *prot());
+ ATuple* copyProt = new ATuple(*prot());
ASymbol* contArg = tenv.penv.gensym("_k");
copyProt->push_back(contArg);
AFn* copy = tup<AFn>(loc, tenv.penv.sym("fn"), copyProt, 0);