diff options
author | Keith Packard <keithp@keithp.com> | 2017-12-09 16:56:20 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-12-09 16:56:20 -0800 |
commit | 1133130986a78628ea297ce1f6a023baf4382d8f (patch) | |
tree | 18e8ebd7976b2a964e9a26690f63f66bb5f638da /src/scheme/ao_scheme_builtin.c | |
parent | 185b11367cd85948885fceafb5d46303b6f1356d (diff) |
altos/scheme: Let readline know if there's a list in progress
This lets the interactive prompt change based on what state the lexer
is in
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/scheme/ao_scheme_builtin.c')
-rw-r--r-- | src/scheme/ao_scheme_builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scheme/ao_scheme_builtin.c b/src/scheme/ao_scheme_builtin.c index 49f218f6..aa818646 100644 --- a/src/scheme/ao_scheme_builtin.c +++ b/src/scheme/ao_scheme_builtin.c @@ -636,7 +636,7 @@ ao_scheme_do_collect(struct ao_scheme_cons *cons) int free; (void) cons; free = ao_scheme_collect(AO_SCHEME_COLLECT_FULL); - return ao_scheme_int_poly(free); + return ao_scheme_integer_poly(free); } ao_poly |