aboutsummaryrefslogtreecommitdiffstats
path: root/src/compile.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-03 01:31:15 +0000
committerDavid Robillard <d@drobilla.net>2010-12-03 01:31:15 +0000
commit80f1113f58f515bc45e1a6ee258ea953fab2b609 (patch)
treeb9a5cfbe82901fe364485b8e4405c4331e4245b7 /src/compile.cpp
parent3ace07c3056cf9979053562cace439a6a1693b08 (diff)
downloadresp-80f1113f58f515bc45e1a6ee258ea953fab2b609.tar.gz
resp-80f1113f58f515bc45e1a6ee258ea953fab2b609.tar.bz2
resp-80f1113f58f515bc45e1a6ee258ea953fab2b609.zip
Make AString, ALexeme, and ASymbol all contain (rather than inherit from) std::string.
git-svn-id: http://svn.drobilla.net/resp/resp@288 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/compile.cpp')
-rw-r--r--src/compile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compile.cpp b/src/compile.cpp
index 88accf4..ebd6083 100644
--- a/src/compile.cpp
+++ b/src/compile.cpp
@@ -145,11 +145,11 @@ resp_compile(CEnv& cenv, const AST* ast) throw()
const AString* str = ast->to<const AString*>();
if (str)
- return cenv.engine()->compileString(cenv, str->c_str());
+ return cenv.engine()->compileString(cenv, str->cppstr.c_str());
const ALexeme* lexeme = ast->to<const ALexeme*>();
if (lexeme)
- return cenv.engine()->compileString(cenv, lexeme->c_str());
+ return cenv.engine()->compileString(cenv, lexeme->cppstr.c_str());
const ASymbol* sym = ast->to<const ASymbol*>();
if (sym)