Assembler/header/lexer.h
2023-09-20 22:00:47 +02:00

16 lines
299 B
C
Executable file

#ifndef _LEXER_H_
#define _LEXER_H_
#include <stdio.h>
#include "../header/common.h"
#include "dyn_buf.h"
//Convert the input_file into tokens
void lexer(FILE *input_file, dynamic_buffer_t *tokens);
//Print out all the tokens in tokens
void print_tokens(char tokens[][MAX_TOKEN_SIZE]);
#endif