Astyle fix

This commit is contained in:
Reijo Tomperi 2009-03-17 22:00:27 +02:00
parent 896abcb569
commit 819953006c
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ void Token::str(const char s[])
{
_str = s;
_isName = bool(_str[0] == '_' || std::isalpha(_str[0]));
_isNumber = bool(std::isdigit(_str[(_str[0]=='-')?1:0]) != 0);
_isNumber = bool(std::isdigit(_str[(_str[0] == '-') ? 1 : 0]) != 0);
if (_str == "true" || _str == "false")
_isBoolean = true;
else