aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-30 09:07:07 +0000
committerDavid Robillard <d@drobilla.net>2010-12-30 09:07:07 +0000
commitde74cf9cd95414fb0a9807fd5b59fefdd64f7392 (patch)
tree664c6a8bad69001eb0ba6b4bed39d1dd6f772fa0
parent64ad48b31e605c962022538eb02ebf6977fc2483 (diff)
downloadresp-de74cf9cd95414fb0a9807fd5b59fefdd64f7392.tar.gz
resp-de74cf9cd95414fb0a9807fd5b59fefdd64f7392.tar.bz2
resp-de74cf9cd95414fb0a9807fd5b59fefdd64f7392.zip
Fix bug in previous commit.
git-svn-id: http://svn.drobilla.net/resp/resp@377 ad02d1e2-f140-0410-9f75-f8b11f17cedd
-rw-r--r--src/expand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand.cpp b/src/expand.cpp
index 68904a9..ec55e39 100644
--- a/src/expand.cpp
+++ b/src/expand.cpp
@@ -69,7 +69,7 @@ expand_def(PEnv& penv, const AST* exp, void* arg)
List fnExp;
fnExp.push_back(penv.sym("fn"));
fnExp.push_back(argsExp.head);
- for (; i != tup->end(); ++i)
+ for (++i; i != tup->end(); ++i)
fnExp.push_back(*i);
fnExp.head->loc = exp->loc;