aboutsummaryrefslogtreecommitdiffstats
path: root/src/repl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-03 00:52:49 +0000
committerDavid Robillard <d@drobilla.net>2010-12-03 00:52:49 +0000
commita2a6e8e4cefda1bb1cbdae53aab9d00b9a8688ca (patch)
tree29591923e314b9e11d111c5f402f50f50c2d17e4 /src/repl.cpp
parentbbad3fe368b2086ec93f082a9436b1dfbc8f0e84 (diff)
downloadresp-a2a6e8e4cefda1bb1cbdae53aab9d00b9a8688ca.tar.gz
resp-a2a6e8e4cefda1bb1cbdae53aab9d00b9a8688ca.tar.bz2
resp-a2a6e8e4cefda1bb1cbdae53aab9d00b9a8688ca.zip
Merge ACall and ATuple.
git-svn-id: http://svn.drobilla.net/resp/resp@285 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/repl.cpp')
-rw-r--r--src/repl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl.cpp b/src/repl.cpp
index 15e263f..4fdbb53 100644
--- a/src/repl.cpp
+++ b/src/repl.cpp
@@ -114,7 +114,7 @@ eval(CEnv& cenv, Cursor& cursor, istream& is, bool execute)
// Compile top-level (lifted) functions
Code exprs;
for (Code::const_iterator i = lifted.begin(); i != lifted.end(); ++i) {
- const ACall* call = (*i)->to<const ACall*>();
+ const ATuple* call = (*i)->to<const ATuple*>();
if (call && is_form(call, "def") && is_form(call->list_ref(2), "fn")) {
val = resp_compile(cenv, call);
} else {