20f729d0fd
Refactoring Adding error handling Adding a clang format file Updating gitignore Updating TODO
14 lines
No EOL
281 B
C
Executable file
14 lines
No EOL
281 B
C
Executable file
#ifndef _LEXER_H_
|
|
#define _LEXER_H_
|
|
|
|
#include "../header/common.h"
|
|
#include <stdio.h>
|
|
|
|
//Convert the input_file into tokens
|
|
void lexer(FILE *input_file, char tokens[][MAX_TOKEN_SIZE]);
|
|
|
|
//Print out all the tokens in tokens
|
|
void print_tokens(char tokens[][MAX_TOKEN_SIZE]);
|
|
|
|
|
|
#endif |