Whitespace
parent
c342778f42
commit
ba4689fd05
|
@ -202,7 +202,7 @@ AI_FORCE_INLINE bool TokenMatch(char_t*& in, const char* token, unsigned int len
|
||||||
{
|
{
|
||||||
if (!::strncmp(token,in,len) && IsSpaceOrNewLine(in[len])) {
|
if (!::strncmp(token,in,len) && IsSpaceOrNewLine(in[len])) {
|
||||||
if (in[len] != '\0') {
|
if (in[len] != '\0') {
|
||||||
in += len+1;
|
in += len+1;
|
||||||
} else {
|
} else {
|
||||||
// If EOF after the token make sure we don't go past end of buffer
|
// If EOF after the token make sure we don't go past end of buffer
|
||||||
in += len;
|
in += len;
|
||||||
|
|
Loading…
Reference in New Issue