Change name of main file
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user