diff options
Diffstat (limited to 'src/compile.cpp')
-rw-r--r-- | src/compile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compile.cpp b/src/compile.cpp index ecd0807..d7b535d 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -56,6 +56,10 @@ compile_literal_symbol(CEnv& cenv, const ASymbol* sym) throw() static CVal compile_cons(CEnv& cenv, const ATuple* cons) throw() { + if (is_form(cons, "Symbol")) { + return compile_literal_symbol(cenv, cons->frst()->as_symbol()); + } + const ASymbol* tname = cons->fst()->as_symbol(); ATuple* type = new ATuple(tname, NULL, Cursor()); List tlist(type); |