diff lwasm/input.h @ 224:3864d96ee8c7

Make unicorns notice referenced files better Fix bug related to includebin and also make unicorns notice all files opened through the input subsystem when generating the resource list.
author William Astle <lost@l-w.ca>
date Sun, 15 Jul 2012 20:50:18 -0600
parents 9960e05cbe3a
children 8e25147c2aa8
line wrap: on
line diff
--- a/lwasm/input.h	Sun Jul 15 20:14:51 2012 -0600
+++ b/lwasm/input.h	Sun Jul 15 20:50:18 2012 -0600
@@ -37,6 +37,14 @@
 extern void input_open(asmstate_t *as, char *s);
 extern char *input_readline(asmstate_t *as);
 extern char *input_curspec(asmstate_t *as);
-extern FILE *input_open_standalone(asmstate_t *as, char *s);
+extern FILE *input_open_standalone(asmstate_t *as, char *s, char **rfn);
+
+struct ifl
+{
+	const char *fn;
+	struct ifl *next;
+};
+
+extern struct ifl *ifl_head;
 
 #endif