diff options
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1102,6 +1102,10 @@ static val eval_prog1(val forms, val env, val ctx_form) static val op_quote(val form, val env) { + val d = cdr(form); + + if (!consp(d) || cdr(d)) + eval_error(form, lit("bad quote syntax"), nao); return second(form); } |