diff --git a/token.cpp b/token.cpp index b1d0467a0..11340b894 100644 --- a/token.cpp +++ b/token.cpp @@ -54,7 +54,8 @@ void TOKEN::setstr( const char s[] ) _cstr = _strdup(s); #endif _isName = bool(_str[0]=='_' || isalpha(_str[0])); - _isNumber = bool(isdigit(_str[0]) != 0); + _isNumber = bool(isdigit(_str[0]) != 0); + _varId = 0; } void TOKEN::combineWithNext(const char str1[], const char str2[])