aboutsummaryrefslogtreecommitdiffstats
path: root/src/repl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-13 21:05:29 +0000
committerDavid Robillard <d@drobilla.net>2009-10-13 21:05:29 +0000
commit2759e14c66c62e3b66cdd5af3e9914f72b32b5ee (patch)
tree10e610ec01316f52edde682abf2a6effb8da9afe /src/repl.cpp
parent3bed7f70fb2793cf7ba82473526ac1ac97de1973 (diff)
downloadresp-2759e14c66c62e3b66cdd5af3e9914f72b32b5ee.tar.gz
resp-2759e14c66c62e3b66cdd5af3e9914f72b32b5ee.tar.bz2
resp-2759e14c66c62e3b66cdd5af3e9914f72b32b5ee.zip
Cleanup, shrink.
git-svn-id: http://svn.drobilla.net/resp/tuplr@209 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/repl.cpp')
-rw-r--r--src/repl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/repl.cpp b/src/repl.cpp
index 5c4d459..fa08238 100644
--- a/src/repl.cpp
+++ b/src/repl.cpp
@@ -58,7 +58,7 @@ readParseTypeCompile(CEnv& cenv, Cursor& cursor, istream& is, AST** exp, AST** r
}
static void
-callPrintCollect(CEnv& cenv, CFunction f, AST* result, AType* resultT, bool execute)
+callPrintCollect(CEnv& cenv, CFunc f, AST* result, AType* resultT, bool execute)
{
if (execute && resultT->concrete())
cenv.out << cenv.engine()->call(cenv, f, resultT);
@@ -89,8 +89,8 @@ eval(CEnv& cenv, const string& name, istream& is, bool execute)
//for (list< pair<SExp, AST*> >::const_iterator i = exprs.begin(); i != exprs.end(); ++i)
// pprint(cout, i->second->cps(cenv.tenv, cenv.penv.sym("cont")));
- CValue val = NULL;
- CFunction f = NULL;
+ CVal val = NULL;
+ CFunc f = NULL;
if (resultT->concrete()) {
// Create function for top-level of program
f = cenv.engine()->startFunction(cenv, "main", resultT, ATuple(cursor));
@@ -131,7 +131,7 @@ repl(CEnv& cenv)
if (!readParseTypeCompile(cenv, cursor, std::cin, &exp, &result, &resultT))
break;
- CFunction f = NULL;
+ CFunc f = NULL;
try {
// Create function for this repl loop
f = cenv.engine()->startFunction(cenv, replFnName, resultT, ATuple(cursor));