aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tuplr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tuplr.cpp b/tuplr.cpp
index a836aba..c945c34 100644
--- a/tuplr.cpp
+++ b/tuplr.cpp
@@ -128,7 +128,7 @@ readExpression(Cursor& cur, istream& in)
inline SExp
macDef(PEnv& penv, const SExp& exp)
{
- THROW_IF(exp.size() != 3, exp.loc, "[MAC] `def' requires exactly 2 arguments")
+ THROW_IF(exp.size() < 3, exp.loc, "[MAC] `def' requires at least 2 arguments")
if (exp.at(1).type == SExp::ATOM) {
return exp;
} else {