diff options
author | David Robillard <d@drobilla.net> | 2010-12-28 07:40:30 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-28 07:40:30 +0000 |
commit | f0bbe766b9cfd14f09e847519b84cf7025839486 (patch) | |
tree | f12848bdb6335bbe43abd765d3ddd472ea01b2ca /src/resp.cpp | |
parent | 25e58056dc218afe0768081ef1c52974593773c0 (diff) | |
download | resp-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/resp.cpp')
-rw-r--r-- | src/resp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resp.cpp b/src/resp.cpp index 9834013..b264850 100644 --- a/src/resp.cpp +++ b/src/resp.cpp @@ -40,7 +40,7 @@ is_form(const AST* ast, const std::string& form) if (!call) return false; - const ASymbol* const sym = call->head()->to_symbol(); + const ASymbol* const sym = call->fst()->to_symbol(); if (!sym) return false; @@ -54,7 +54,7 @@ is_primitive(const PEnv& penv, const AST* ast) if (!call) return false; - const ASymbol* const sym = call->head()->to_symbol(); + const ASymbol* const sym = call->fst()->to_symbol(); if (!sym) return false; |