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.cpp | |
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.cpp')
-rw-r--r-- | src/resp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resp.cpp b/src/resp.cpp index 9e959f5..e745455 100644 --- a/src/resp.cpp +++ b/src/resp.cpp @@ -143,7 +143,7 @@ main(int argc, char** argv) try { while (is.good() && !is.eof()) { Cursor loc(*f); - AST* exp = read_expression(cenv->penv, loc, is); + const AST* exp = read_expression(cenv->penv, loc, is); if (!exp || (exp->to_tuple() && exp->to_tuple()->tup_len() == 1)) break; |