Split up some code to more in line with what its actually doing.
This commit is contained in:
+2
-2
@@ -2,7 +2,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "../includes/list.h"
|
||||
#include "../includes/tokenizer.h"
|
||||
#include "../includes/lexer.h"
|
||||
|
||||
typedef struct {
|
||||
char *opcode;
|
||||
@@ -22,7 +22,7 @@ int main(int argc, char* args[]) {
|
||||
}
|
||||
// char* test = "user_id";
|
||||
// printf("Key for '%s' is %d for size %d\n", test, GetKeyIndex(test, HASHTABLEDEFAULTSIZE), HASHTABLEDEFAULTSIZE);
|
||||
TokenizeString(args[1]);
|
||||
GenerateTokensFromFile(args[1]);
|
||||
|
||||
// for (int i = 1; i < argc; i++) {
|
||||
// input_files[i - 1] = args[i];
|
||||
|
||||
Reference in New Issue
Block a user