119 |
|
// ltoken.push_back(Token(Token::string, str)); |
120 |
|
// continue; |
121 |
|
//} |
122 |
< |
if (lookingAtDecimal((tokCommand & Token::negnums) != 0)) { |
122 |
> |
//if (lookingAtDecimal((tokCommand & Token::negnums) != 0)) { |
123 |
> |
if (lookingAtDecimal((tokCommand) != 0)) { |
124 |
|
float value = lexi_cast<float>(script.substr(ichToken, cchToken)); |
125 |
|
ltoken.push_back(Token(Token::decimal, boost::any(value))); |
126 |
|
continue; |
127 |
|
} |
128 |
< |
if (lookingAtInteger((tokCommand & Token::negnums) != 0)) { |
128 |
> |
//if (lookingAtInteger((tokCommand & Token::negnums) != 0)) { |
129 |
> |
if (lookingAtInteger((tokCommand) != 0)) { |
130 |
|
|
131 |
|
int val = lexi_cast<int>(script.substr(ichToken, cchToken)); |
132 |
|
ltoken.push_back(Token(Token::integer, boost::any(val))); |