aboutsummaryrefslogtreecommitdiffstats
path: root/src/compile.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-07 23:21:08 +0000
committerDavid Robillard <d@drobilla.net>2010-12-07 23:21:08 +0000
commit7682c4ceab935d39aafac369c9b110b658b1e575 (patch)
tree96fcddeb789f72419a5416201ee8944a58baac4e /src/compile.cpp
parent5e8c55c15f42aff343d0b6189a6c8f8c50d12775 (diff)
downloadresp-7682c4ceab935d39aafac369c9b110b658b1e575.tar.gz
resp-7682c4ceab935d39aafac369c9b110b658b1e575.tar.bz2
resp-7682c4ceab935d39aafac369c9b110b658b1e575.zip
Saner recursive descent lexer/parser.
git-svn-id: http://svn.drobilla.net/resp/resp@306 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/compile.cpp')
-rw-r--r--src/compile.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/compile.cpp b/src/compile.cpp
index 4ac7dfc..35fb042 100644
--- a/src/compile.cpp
+++ b/src/compile.cpp
@@ -148,8 +148,6 @@ resp_compile(CEnv& cenv, const AST* ast) throw()
case T_FLOAT:
case T_INT32:
return cenv.engine()->compileLiteral(cenv, ast);
- case T_LEXEME:
- return cenv.engine()->compileString(cenv, ((ALexeme*)ast)->cppstr.c_str());
case T_STRING:
return cenv.engine()->compileString(cenv, ((AString*)ast)->cppstr.c_str());
case T_SYMBOL:
@@ -171,8 +169,6 @@ resp_compile(CEnv& cenv, const AST* ast) throw()
return compile_cons(cenv, call);
else if (form == ".")
return compile_dot(cenv, call);
- else if (form == "quote")
- return resp_compile(cenv, call->list_ref(1));
else if (form == "match")
return cenv.engine()->compileMatch(cenv, call);
else if (form == "def-type")