diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2021-09-02 17:23:42 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2021-09-02 17:23:42 +0300 |
commit | 9deed51aa2df7ca5979963f7452a6439ad2d3767 (patch) | |
tree | 7ceea0494c01eeff7e7fdaaa8b1bfc7e5adf62c1 /main.c | |
download | foodtools-9deed51aa2df7ca5979963f7452a6439ad2d3767.tar.gz foodtools-9deed51aa2df7ca5979963f7452a6439ad2d3767.tar.bz2 foodtools-9deed51aa2df7ca5979963f7452a6439ad2d3767.zip |
initial
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +#include "util.h" +#include "parser.h" + +recipe ** cookbook; + +int +main(int argc, char * argv[]) +{ + fdebug("--- Debug mode is on ---\n"); + recipe * r = parse(argv[1], NULL); + if (r) tojson(r); + free_recipe(r); + return 0; +} |