aboutsummaryrefslogtreecommitdiffstats
path: root/src/resp.hpp
diff options
context:
space:
mode:
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: