]> git.lizzy.rs Git - nothing.git/blobdiff - src/script/parser.h
TODO(#330)
[nothing.git] / src / script / parser.h
index 5f04fc56246e3a9a74708a97889b7ac833370ea2..21247dae5757a019dac8a1f8e0c4a192557ef6fe 100644 (file)
@@ -21,8 +21,8 @@ struct ParseResult parse_success(struct Expr expr,
 struct ParseResult parse_failure(const char *error,
                                  const char *end);
 
-struct ParseResult read_expr_from_string(const char *str);
-struct ParseResult read_expr_from_stream(FILE *stream);
+struct ParseResult read_expr_from_string(Gc *gc, const char *str);
+struct ParseResult read_expr_from_file(Gc *gc, const char *filename);
 
 void print_parse_error(FILE *stream,
                        const char *str,