- Timestamp:
- Apr 5, 2017, 4:57:29 PM (9 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:
- 4cfcf41
- Parents:
- 7a026ff
- Location:
- doc/generic_types/evaluation
- Files:
- 
      - 1 added
- 2 edited
 
 - 
          
  .gitignore (added)
- 
          
  Makefile (modified) (1 diff)
- 
          
  cfa-stack.c (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      doc/generic_types/evaluation/Makefiler7a026ff r75ac87e 1 CFA= cfa1 CFA=my-cfa 2 2 3 3 # %.o : %.cf 
- 
      doc/generic_types/evaluation/cfa-stack.cr7a026ff r75ac87e 8 8 9 9 forall(otype T) void ?{}(stack(T)* s) { 10 ?{}( s->head, 0 );10 ?{}( &s->head, 0 ); 11 11 } 12 12 … … 25 25 26 26 forall(otype T) void push(stack(T)* s, T value) { 27 s->head = new( value, s->head );27 s->head = ((stack_node(T)*)malloc()){ value, s->head }; 28 28 } 29 29 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  