iris

small scheme interpreter
git clone git://git.2f30.org/iris
Log | Files | Refs | LICENSE

commit 222f9cb53c6cf3c4ef25d6ee8b652f4b1ef4eef1
parent cfddb48f967035774e65243ce9fe52c5fc9a26f2
Author: sin <sin@2f30.org>
Date:   Wed, 14 May 2014 16:06:06 +0100

Set the number field in number()

Copy/paste error.

Diffstat:
Mparser.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parser.c b/parser.c @@ -79,7 +79,7 @@ number(struct tok *t) return NULL; o = newobject(); o->type = ONumber; - o->d.c.v = strtol(l, 0, 10); + o->d.n.v = strtol(l, 0, 10); free(l); return o; }