summaryrefslogtreecommitdiffstats
path: root/src/parser.h
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/parser.h
parente41d8749567990f95def4e3d385e14bb6f1a14cf (diff)
downloadfoodtools-eb75ad1bb21826e482b3bc3251e83ac5a9121678.tar.gz
foodtools-eb75ad1bb21826e482b3bc3251e83ac5a9121678.tar.bz2
foodtools-eb75ad1bb21826e482b3bc3251e83ac5a9121678.zip
Remove prev from parse()
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/parser.h b/src/parser.h
index 70b3120..3a25a94 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -18,9 +18,12 @@ typedef enum parser_type {
* input from stdin
*/
recipe *
-parse(char * path, const char * prev);
+parse(char * path);
int
parse_item(const char * s, recipe * r, pt * type, char * error);
+int
+parse_step(const char * s, recipe * r, char * error);
+
#endif /* __PARSER_H */