filename update
This commit is contained in:
5
main.c
5
main.c
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user