filename update

This commit is contained in:
2025-07-20 22:24:25 +03:00
parent ea8e458b71
commit f1fb8610cd
3 changed files with 114 additions and 6 deletions

5
main.c
View File

@@ -53,8 +53,7 @@ Token read_from_tok(char* text, uint cursor){
Token mytoks;
static char buf[64];
size_t i = 0;
if (isdigit(text[cursor])) {
// Start of an integer token
if (isdigit(text[cursor])) {
size_t start = cursor;
while (isdigit(text[cursor])) {
buf[i++] = text[cursor++];
@@ -86,7 +85,7 @@ Token read_from_tok(char* text, uint cursor){
}
// Token* c