From c27e97b2294951e5db6e9c9fa6f6f0de2c5243e6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Dec 2010 04:08:51 +0000 Subject: read_expression => PEnv::parse. git-svn-id: http://svn.drobilla.net/resp/resp@325 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- src/repl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/repl.cpp') 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::max(), '\n'); // Skip REPL junk throw e; -- cgit v1.2.1