summaryrefslogblamecommitdiffstats
path: root/src/eval.c
blob: 8bc886a2bb4fe75b66c9b9f774c31dff20305c24 (plain) (tree)
1
2
3
4
5
6
7
8
9






                      
                             
 


                       
 
            

 
#include "eval.h"
#include "util.h"

recipe *
eval(recipe * r)
{
  if (!r) return NULL;
  recipe * _r = new_recipe();

  merge_items(_r, r);
  merge_steps(_r, r);
  copy_metadata(_r, r);

  return _r;
}