Variant INT and REAL are now 64 bits (other types remain at 32)
This commit is contained in:
parent
94ee7798ce
commit
13cdccf23b
9 changed files with 202 additions and 63 deletions
|
|
@ -731,14 +731,14 @@ void GDTokenizerText::_advance() {
|
|||
|
||||
INCPOS(str.length());
|
||||
if (hexa_found) {
|
||||
int val = str.hex_to_int();
|
||||
int64_t val = str.hex_to_int64();
|
||||
_make_constant(val);
|
||||
} else if (period_found || exponent_found) {
|
||||
real_t val = str.to_double();
|
||||
double val = str.to_double();
|
||||
//print_line("*%*%*%*% to convert: "+str+" result: "+rtos(val));
|
||||
_make_constant(val);
|
||||
} else {
|
||||
int val = str.to_int();
|
||||
int64_t val = str.to_int64();
|
||||
_make_constant(val);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue