diff options
author | David Robillard <d@drobilla.net> | 2009-06-19 07:44:49 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-06-19 07:44:49 +0000 |
commit | 27bcb3292bde166a98829a63ff177b6831c46f1f (patch) | |
tree | 6bd8520cc2a3c964f704debef09a29ae001e4483 | |
parent | 38b50b89bc638fe5d94bc6523c574504a5ef368d (diff) | |
download | resp-27bcb3292bde166a98829a63ff177b6831c46f1f.tar.gz resp-27bcb3292bde166a98829a63ff177b6831c46f1f.tar.bz2 resp-27bcb3292bde166a98829a63ff177b6831c46f1f.zip |
Fix function definitions with several expressions in body.
git-svn-id: http://svn.drobilla.net/resp/tuplr@125 ad02d1e2-f140-0410-9f75-f8b11f17cedd
-rw-r--r-- | tuplr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |