Remove most Hungarian notation in section module

Seriously, it sucks.
This commit is contained in:
ISSOtm
2020-09-06 20:43:13 +02:00
parent 14be01880d
commit 304bb9f902
10 changed files with 204 additions and 204 deletions

View File

@@ -32,7 +32,7 @@ struct sLexString {
char *tzName;
uint32_t nToken;
uint32_t nNameLength;
struct sLexString *pNext;
struct sLexString *next;
};
#define pLexBufferRealStart (pCurrentBuffer->pBufferRealStart)
@@ -492,7 +492,7 @@ void lex_AddStrings(const struct sLexInitString *lex)
ppHash = &tLexHash[hash];
while (*ppHash)
ppHash = &((*ppHash)->pNext);
ppHash = &((*ppHash)->next);
*ppHash = malloc(sizeof(struct sLexString));
if (*ppHash == NULL)
@@ -504,7 +504,7 @@ void lex_AddStrings(const struct sLexInitString *lex)
(*ppHash)->nNameLength = strlen(lex->tzName);
(*ppHash)->nToken = lex->nToken;
(*ppHash)->pNext = NULL;
(*ppHash)->next = NULL;
upperstring((*ppHash)->tzName);
@@ -575,7 +575,7 @@ struct sLexString *yylex_GetLongestFixed(void)
pLongestFixed = lex;
break;
}
lex = lex->pNext;
lex = lex->next;
}
}