aboutsummaryrefslogtreecommitdiffstats
path: root/src/parse.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-15 16:58:33 +0000
committerDavid Robillard <d@drobilla.net>2009-10-15 16:58:33 +0000
commit7743d332e41c7795dcbaa49511293f22597e4db7 (patch)
treec6018e89d3265698e992a3e96b77a25ae40675b6 /src/parse.cpp
parentcc8d52479fea5b2f4419463daf027ec11e813dc8 (diff)
downloadresp-7743d332e41c7795dcbaa49511293f22597e4db7.tar.gz
resp-7743d332e41c7795dcbaa49511293f22597e4db7.tar.bz2
resp-7743d332e41c7795dcbaa49511293f22597e4db7.zip
Replace more use of at(0) with head().
git-svn-id: http://svn.drobilla.net/resp/tuplr@228 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/parse.cpp')
-rw-r--r--src/parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.cpp b/src/parse.cpp
index c7209aa..6271cad 100644
--- a/src/parse.cpp
+++ b/src/parse.cpp
@@ -40,7 +40,7 @@ macDef(PEnv& penv, const AST* exp)
return const_cast<AST*>(exp);
} else {
const ATuple* pat = name->to<const ATuple*>();
- name = pat->at(0);
+ name = pat->head();
// (def (f x) y) => (def f (fn (x) y))
ATuple* argsExp = new ATuple(exp->loc);
ATuple::const_iterator j = pat->begin();