fix typos

This commit is contained in:
Stefan Frederik 2022-01-26 15:31:32 +01:00
parent f5fd1ef352
commit bf624cfc77
1 changed files with 3 additions and 5 deletions

View File

@ -39,14 +39,12 @@ unsigned int str_hash(const char *tok)
/* seems unused */
int name_strcmp(char *s, char *d) /* compare strings up to '\0' or'[' */
{
int i=0;
while(*s == *d) {
{
if(*s == '\0' || *s == '[') return 0;
*s++;
*d++;
s++;
d++;
}
return *s1 - *s2
return *s - *d;
}
/* 20180926 added token_size */