16 lines
299 B
C
Executable file
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
|