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);