From 3cd61e3abc79a80d38afa9c633c59585aeb0311a Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 14 Jan 2021 19:21:31 -0800 Subject: Overhaul of memory tracking and left recursion. Added explanation doc for left recursion and fixed all visible memory leaks. --- file_loader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'file_loader.h') diff --git a/file_loader.h b/file_loader.h index 85bb920..91480b2 100644 --- a/file_loader.h +++ b/file_loader.h @@ -19,7 +19,7 @@ typedef struct file_s { file_t *load_file(file_t **files, const char *filename); __attribute__((nonnull(3), returns_nonnull)) -file_t *spoof_file(file_t **files, const char *filename, char *text); +file_t *spoof_file(file_t **files, const char *filename, const char *text); __attribute__((nonnull)) void intern_file(file_t *f); __attribute__((nonnull)) -- cgit v1.2.3