Lexer using struct

This commit is contained in:
SinusFox
2023-06-06 15:30:02 +02:00
parent a9baf4f223
commit 6827ad66c1
4 changed files with 59 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#include "Lexer.h"
void init_Lexer(Lexer_t* lexptr, char* src_in){
lexptr->state = _START_;
lexptr->source_code = src_in;
lexptr->current_pos = &src_in;
}
void run_Lexer(Lexer_t* lexer) {
}