From 398146a0d8900477a65891dbfea54202111c6875 Mon Sep 17 00:00:00 2001 From: rexy712 Date: Sun, 30 Jan 2022 20:42:12 -0800 Subject: [PATCH] Fix parsing of restore file --- src/restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/restore.c b/src/restore.c index c1f382a..16c9663 100644 --- a/src/restore.c +++ b/src/restore.c @@ -77,7 +77,7 @@ RJP_value* read_restore_file(const char* file){ i = fread(file_contents, filesize, 1, fp); fclose(fp); file_contents[filesize] = 0; - RJP_value* root = rjp_parse(file_contents, RJP_PARSE_NO_EXT, NULL); + RJP_value* root = rjp_parse(file_contents, RJP_PARSE_ALLOW_COMMENTS, NULL); free(file_contents); return root; }