commit 996fec60b1f3785382f4c87b707c0c76389add0b parent e38ba1671e2e236be50fb34144205c5b878520a1 Author: sin <sin@2f30.org> Date: Mon, 19 May 2014 14:43:07 +0100 Fix (diff) Diffstat:
M | parser.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/parser.c b/parser.c @@ -546,6 +546,8 @@ evaldiff(struct object *o) return NULL; if (car(o)->type != OIdentifier) return NULL; + if (!cadr(o)) + return integer(0); n = eval(cadr(o)); if (n->type == OError) return n;