From 02136bd0b91f6a27f9bb898c1e630756adc12b88 Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Sat, 21 Oct 2023 00:39:21 +0200 Subject: [PATCH] Change name of main file --- bfpcompiler/Makefile | 2 +- bfpcompiler/src/{compilefuck.c => compiler.c} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename bfpcompiler/src/{compilefuck.c => compiler.c} (98%) diff --git a/bfpcompiler/Makefile b/bfpcompiler/Makefile index d3bba62..1884efe 100644 --- a/bfpcompiler/Makefile +++ b/bfpcompiler/Makefile @@ -5,7 +5,7 @@ CFLAGS = -Wall LDFLAGS = SRCDIR = src/ INCLUDE = include/ -OBJECTS = assembling.o analyzer.o tokenizer.o compilefuck.o +OBJECTS = assembling.o analyzer.o tokenizer.o compiler.o all: $(BIN) $(BIN): $(OBJECTS) diff --git a/bfpcompiler/src/compilefuck.c b/bfpcompiler/src/compiler.c similarity index 98% rename from bfpcompiler/src/compilefuck.c rename to bfpcompiler/src/compiler.c index 453ca32..6c735dc 100644 --- a/bfpcompiler/src/compilefuck.c +++ b/bfpcompiler/src/compiler.c @@ -96,7 +96,7 @@ int main (int argc, char** argv) { free( buffer ); /* Analyze the code for errors and warnings. */ - int scan_result = analyze(tokens); + int scan_result = analyze(tokens, device); /* Exit if analyzer detects errors. */ if (scan_result < 0) { exit(scan_result);