Assembler/header/lexer.h

14 lines
281 B
C
Raw Normal View History

2023-01-12 00:12:12 +01:00
#ifndef _LEXER_H_
#define _LEXER_H_
2023-02-13 10:28:28 +01:00
#include "../header/common.h"
#include <stdio.h>
2023-01-12 00:12:12 +01:00
//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