commit 0d4bbc12d1a40a7fd001712b81d7dd49cb84df03
parent 311e8ae64da8eea1ca74954bd11c98c54800677f
Author: Andres Navarro <canavarro82@gmail.com>
Date: Sun, 20 Feb 2011 05:54:03 -0300
Bugfix (kread.c): cdr was not setted in ST_LAST_ILIST.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/kread.c b/src/kread.c
@@ -409,6 +409,9 @@ TValue kread_fsm()
break;
}
case ST_LAST_ILIST:
+ kset_cdr(get_data(), obj);
+ /* only change the state, keep the pair in data to simplify
+ the close paren code (same as for ST_MIDDLE_LIST) */
pop_state();
push_state(ST_PAST_LAST_ILIST);
read_next_token = true;