Moving to C++ with new idea

This commit is contained in:
Krzosa Karol
2022-05-13 10:12:09 +02:00
parent 9d54ed8195
commit 9c22a379ea
4 changed files with 1282 additions and 30 deletions

6
lex.c
View File

@@ -257,12 +257,6 @@ lex_advance(Lex_Stream *s){
}
}
function Token
token_int(U64 val){
Token result = {.kind = TK_Int, .int_val=val};
return result;
}
function void
lex_parse_string(Lex_Stream *s, Token *t, U8 c){
for(;;){