mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +00:00
Update parser.h
This commit is contained in:
parent
3bb3b0d584
commit
b23c4fe6c9
@ -31,7 +31,7 @@ constexpr TokenIndex TK(const char* const token) {
|
|||||||
while(*i && *j && *i == *j) { i++; j++;}
|
while(*i && *j && *i == *j) { i++; j++;}
|
||||||
if(*i == *j) return k;
|
if(*i == *j) return k;
|
||||||
}
|
}
|
||||||
return 0;
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
|
|
||||||
#define TK_STR(t) kTokens[t]
|
#define TK_STR(t) kTokens[t]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user