| 359 | |
| 360 | |
| 361 | Symbol * |
| 362 | ASTNode::codegen_list (ref node, Symbol *dest) |
| 363 | { |
| 364 | Symbol *sym = NULL; |
| 365 | while (node) { |
| 366 | bool last = (node->nextptr() == NULL); |
| 367 | sym = node->codegen (last ? dest : NULL); |
| 368 | node = node->next (); |
| 369 | } |
| 370 | return sym; |
| 371 | } |
| 372 | |
| 373 | |
| 374 |