projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ce7ab3
)
altos/lisp: Fix error atom name in ao_lisp_length
author
Keith Packard
<keithp@keithp.com>
Fri, 18 Nov 2016 00:05:29 +0000
(16:05 -0800)
committer
Keith Packard
<keithp@keithp.com>
Mon, 20 Feb 2017 19:16:51 +0000
(11:16 -0800)
Cut&paste error.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/lisp/ao_lisp_builtin.c
patch
|
blob
|
history
diff --git
a/src/lisp/ao_lisp_builtin.c
b/src/lisp/ao_lisp_builtin.c
index b808cbc51aa992c3c9a4aa9e4419f3d7d5beca85..6cbcb92cb401624cb3f2653da3da0f1f7a763534 100644
(file)
--- a/
src/lisp/ao_lisp_builtin.c
+++ b/
src/lisp/ao_lisp_builtin.c
@@
-213,9
+213,9
@@
ao_lisp_last(struct ao_lisp_cons *cons)
ao_poly
ao_lisp_length(struct ao_lisp_cons *cons)
{
- if (!ao_lisp_check_argc(_ao_lisp_atom_l
ast
, cons, 1, 1))
+ if (!ao_lisp_check_argc(_ao_lisp_atom_l
ength
, cons, 1, 1))
return AO_LISP_NIL;
- if (!ao_lisp_check_argt(_ao_lisp_atom_l
ast
, cons, 0, AO_LISP_CONS, 1))
+ if (!ao_lisp_check_argt(_ao_lisp_atom_l
ength
, cons, 0, AO_LISP_CONS, 1))
return AO_LISP_NIL;
return ao_lisp_int_poly(ao_lisp_cons_length(ao_lisp_poly_cons(ao_lisp_arg(cons, 0))));
}