aboutsummaryrefslogtreecommitdiffstats
path: root/src/expand.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-28 07:40:30 +0000
committerDavid Robillard <d@drobilla.net>2010-12-28 07:40:30 +0000
commitf0bbe766b9cfd14f09e847519b84cf7025839486 (patch)
treef12848bdb6335bbe43abd765d3ddd472ea01b2ca /src/expand.cpp
parent25e58056dc218afe0768081ef1c52974593773c0 (diff)
downloadresp-f0bbe766b9cfd14f09e847519b84cf7025839486.tar.gz
resp-f0bbe766b9cfd14f09e847519b84cf7025839486.tar.bz2
resp-f0bbe766b9cfd14f09e847519b84cf7025839486.zip
Use fst ("first") instead of head and rst ("rest") instead of tail.
git-svn-id: http://svn.drobilla.net/resp/resp@366 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/expand.cpp')
-rw-r--r--src/expand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expand.cpp b/src/expand.cpp
index f0fed33..d10b64d 100644
--- a/src/expand.cpp
+++ b/src/expand.cpp
@@ -77,8 +77,8 @@ expand_def(PEnv& penv, const AST* exp, void* arg)
fnExp.head->loc = body->loc;
List ret;
- ret.push_back(tup->head());
- ret.push_back(pat->head());
+ ret.push_back(tup->fst());
+ ret.push_back(pat->fst());
ret.push_back(fnExp.head);
ret.head->loc = exp->loc;