aboutsummaryrefslogtreecommitdiffstats
path: root/src/repl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-09 04:08:51 +0000
committerDavid Robillard <d@drobilla.net>2010-12-09 04:08:51 +0000
commitc27e97b2294951e5db6e9c9fa6f6f0de2c5243e6 (patch)
tree076d0121abfd7c38914cb666e239672389b11a25 /src/repl.cpp
parentf8bb745beb481846e715cd1e455b3d688fe34d65 (diff)
downloadresp-c27e97b2294951e5db6e9c9fa6f6f0de2c5243e6.tar.gz
resp-c27e97b2294951e5db6e9c9fa6f6f0de2c5243e6.tar.bz2
resp-c27e97b2294951e5db6e9c9fa6f6f0de2c5243e6.zip
read_expression => PEnv::parse.
git-svn-id: http://svn.drobilla.net/resp/resp@325 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 114ff58..88fefab 100644
--- a/src/repl.cpp
+++ b/src/repl.cpp
@@ -30,7 +30,7 @@ static bool
readParseType(CEnv& cenv, Cursor& cursor, istream& is, const AST*& exp, const AST*& ast)
{
try {
- exp = read_expression(cenv.penv, cursor, is);
+ exp = cenv.penv.parse(cursor, is);
} catch (Error e) {
is.ignore(std::numeric_limits<std::streamsize>::max(), '\n'); // Skip REPL junk
throw e;