aboutsummaryrefslogtreecommitdiffstats
path: root/src/resp.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-09 01:57:52 +0000
committerDavid Robillard <d@drobilla.net>2010-12-09 01:57:52 +0000
commit39af9fe79809a67c837485d8edcae6b9246c5fa6 (patch)
tree159b854110774669e410116f89de10f85d3e2b2d /src/resp.hpp
parente759ca41e4ba831279b1495c6713d79ad10ab6f9 (diff)
downloadresp-39af9fe79809a67c837485d8edcae6b9246c5fa6.tar.gz
resp-39af9fe79809a67c837485d8edcae6b9246c5fa6.tar.bz2
resp-39af9fe79809a67c837485d8edcae6b9246c5fa6.zip
Const-correct parser.
git-svn-id: http://svn.drobilla.net/resp/resp@323 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/resp.hpp')
-rw-r--r--src/resp.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resp.hpp b/src/resp.hpp
index aa4d624..459e923 100644
--- a/src/resp.hpp
+++ b/src/resp.hpp
@@ -119,7 +119,7 @@ ostream& operator<<(ostream& out, const Env<K,V>& env) {
struct PEnv;
struct AST;
-AST* read_expression(PEnv& penv, Cursor& cur, std::istream& in);
+const AST* read_expression(PEnv& penv, Cursor& cur, std::istream& in);
/***************************************************************************
@@ -528,7 +528,6 @@ AST::operator==(const AST& rhs) const
}
return false; // never reached
}
-
case T_UNKNOWN:
case T_STRING:
case T_SYMBOL: