moved lexer functions to Lexer.c and included Lexer.c

This commit is contained in:
SinusFox
2023-05-09 15:25:14 +02:00
parent d548a90254
commit 9cde0cf1df
2 changed files with 33 additions and 31 deletions
+31
View File
@@ -0,0 +1,31 @@
#include "Lexer.h"
int start(char* src) {
// if (src != NULL) {
// return _GET_NEXT_CHARACTER_;
// } else {
// return _STOP_;
// }
return _STOP_; // placeholder
}
int getNextCharacter() {
return _STOP_; // placeholder
}
int readIdentifier() {
return _STOP_; // placeholder
}
int readNumLit() {
return _STOP_; // placeholder
}
int readOperator() {
return _STOP_; // placeholder
}
int readPunctuation() {
return _STOP_; // placeholder
}