Changeset fb2ce27 for doc/papers/general/evaluation/c-stack.c
- Timestamp:
- Mar 8, 2018, 1:37:46 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 28bc8c8
- Parents:
- f1f8e55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/papers/general/evaluation/c-stack.c
rf1f8e55 rfb2ce27 13 13 for ( struct stack_node* next = t->head; next; next = next->next ) { 14 14 *crnt = malloc(sizeof(struct stack_node)); /***/ 15 **crnt = (struct stack_node){ copy(next->value) }; /***/15 (*crnt)->value = copy(next->value); 16 16 crnt = &(*crnt)->next; 17 17 } 18 *crnt = 0;18 *crnt = NULL; 19 19 } 20 20
Note: See TracChangeset
for help on using the changeset viewer.