Change name of main file
This commit is contained in:
parent
5d5b4d93d7
commit
02136bd0b9
|
@ -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);
|
Loading…
Reference in New Issue