Fix field parsing

This commit is contained in:
Krzosa Karol
2022-06-01 15:00:27 +02:00
parent 82bb3ae493
commit 364daed1c7
4 changed files with 32 additions and 12 deletions

View File

@@ -4,6 +4,17 @@
#define NULL_LAMBDA 0
//-------------------------------
struct Lex_Stream{
String stream;
int offset;
};
static String lexc(Lex_Stream *s){
return s->stream;
}
static void main(){
//pass
String string_to_lex = LIT("Identifier 2425525 Not_Number");
Lex_Stream s = (Lex_Stream ){.stream = string_to_lex};
for(int inf = 0;inf;inf){
//pass
}
}