aboutsummaryrefslogtreecommitdiff
path: root/interpreter/fuspel.c
diff options
context:
space:
mode:
Diffstat (limited to 'interpreter/fuspel.c')
-rw-r--r--interpreter/fuspel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/interpreter/fuspel.c b/interpreter/fuspel.c
index b976772..3015db5 100644
--- a/interpreter/fuspel.c
+++ b/interpreter/fuspel.c
@@ -9,7 +9,7 @@
#define LINE_LENGTH 139
-fuspel* parse_file(fuspel* already_parsed, char* fname) {
+fuspel* import(fuspel* already_parsed, char* fname) {
token_list* tokens = NULL;
fuspel* pgm;
FILE* f;
@@ -67,7 +67,7 @@ int main(int argc, char* argv[]) {
}
for (i = 1; i < argc; i++) {
- pgm = parse_file(pgm, argv[i]);
+ pgm = import(pgm, argv[i]);
}
if (!pgm) {