diff options
author | David Robillard <d@drobilla.net> | 2010-12-09 01:57:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-09 01:57:52 +0000 |
commit | 39af9fe79809a67c837485d8edcae6b9246c5fa6 (patch) | |
tree | 159b854110774669e410116f89de10f85d3e2b2d /src/resp.hpp | |
parent | e759ca41e4ba831279b1495c6713d79ad10ab6f9 (diff) | |
download | resp-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.hpp | 3 |
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: |