token : if setstr is used clear the variable id
This commit is contained in:
parent
8d6f77deed
commit
744c4928c4
|
@ -54,7 +54,8 @@ void TOKEN::setstr( const char s[] )
|
||||||
_cstr = _strdup(s);
|
_cstr = _strdup(s);
|
||||||
#endif
|
#endif
|
||||||
_isName = bool(_str[0]=='_' || isalpha(_str[0]));
|
_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[])
|
void TOKEN::combineWithNext(const char str1[], const char str2[])
|
||||||
|
|
Loading…
Reference in New Issue