summaryrefslogtreecommitdiffstats
path: root/src/cookbook.c
diff options
context:
space:
mode:
authorAnastasios Grammenos <anastasios.grammenos@noris.gr>2022-11-09 16:31:55 +0200
committerAnastasios Grammenos <anastasios.grammenos@noris.gr>2022-11-09 16:31:55 +0200
commiteb75ad1bb21826e482b3bc3251e83ac5a9121678 (patch)
tree814c70e49220e30e62cbdd08c28dbe8b08592fa2 /src/cookbook.c
parente41d8749567990f95def4e3d385e14bb6f1a14cf (diff)
downloadfoodtools-eb75ad1bb21826e482b3bc3251e83ac5a9121678.tar.gz
foodtools-eb75ad1bb21826e482b3bc3251e83ac5a9121678.tar.bz2
foodtools-eb75ad1bb21826e482b3bc3251e83ac5a9121678.zip
Remove prev from parse()
Diffstat (limited to 'src/cookbook.c')
-rw-r--r--src/cookbook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cookbook.c b/src/cookbook.c
index b1a4f76..c67a728 100644
--- a/src/cookbook.c
+++ b/src/cookbook.c
@@ -140,7 +140,7 @@ main(int argc, char * argv[])
cookbook = (recipe **)malloc(sizeof(recipe *) * n);
for (int i = 0; i < n; i++) {
- cookbook[i] = parse(lib[i], NULL);
+ cookbook[i] = parse(lib[i]);
if (opt.eval) {
recipe * _r = eval(cookbook[i]);
free_recipe(cookbook[i]);