From eb75ad1bb21826e482b3bc3251e83ac5a9121678 Mon Sep 17 00:00:00 2001 From: Anastasios Grammenos Date: Wed, 9 Nov 2022 16:31:55 +0200 Subject: Remove prev from parse() --- src/parser.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/parser.h') 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 */ -- cgit v1.2.3