diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-08 20:18:23 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-08 20:18:23 +0800 |
commit | 3753b3c4bed58949588a46d4c807a0c0045e8f22 (patch) | |
tree | b08898c19eb7ad9fce46316924651b30bc86c476 /parser.cpp | |
parent | 2c9f05a38ef64cbaeeae6429cd0e245c27944660 (diff) |
new ext_repr() approach
Diffstat (limited to 'parser.cpp')
-rw-r--r-- | parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -196,7 +196,7 @@ Pair *ASTGenerator::absorb(Tokenizor *tk) { else { Pair *_lst = new Pair(obj, lst); // Collect the list - _lst->next = lst->is_cons_obj() ? TO_PAIR(lst) : NULL; + _lst->next = lst->is_pair_obj() ? TO_PAIR(lst) : NULL; lst = _lst; } } |