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