Change name of main file
This commit is contained in:
parent
5d5b4d93d7
commit
02136bd0b9
|
@ -5,7 +5,7 @@ CFLAGS = -Wall
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
SRCDIR = src/
|
SRCDIR = src/
|
||||||
INCLUDE = include/
|
INCLUDE = include/
|
||||||
OBJECTS = assembling.o analyzer.o tokenizer.o compilefuck.o
|
OBJECTS = assembling.o analyzer.o tokenizer.o compiler.o
|
||||||
all: $(BIN)
|
all: $(BIN)
|
||||||
|
|
||||||
$(BIN): $(OBJECTS)
|
$(BIN): $(OBJECTS)
|
||||||
|
|
|
@ -96,7 +96,7 @@ int main (int argc, char** argv) {
|
||||||
free( buffer );
|
free( buffer );
|
||||||
|
|
||||||
/* Analyze the code for errors and warnings. */
|
/* Analyze the code for errors and warnings. */
|
||||||
int scan_result = analyze(tokens);
|
int scan_result = analyze(tokens, device);
|
||||||
/* Exit if analyzer detects errors. */
|
/* Exit if analyzer detects errors. */
|
||||||
if (scan_result < 0) {
|
if (scan_result < 0) {
|
||||||
exit(scan_result);
|
exit(scan_result);
|
Loading…
Reference in New Issue