-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Parser does this:
(
t = <NUMBER_DECIMAL>
{
if(nativeNumbers) {
return new Long(t.image);
} else {
return new BigDecimal(t.image);
}
}
) | (
t = <NUMBER_INTEGER>
{
if(nativeNumbers) {
return new Double(t.image);
} else {
return new BigInteger(substringBefore(t.image, '.'));
}
}
I think it should be:
(
t = <NUMBER_DECIMAL>
{
if(nativeNumbers) {
return new Double(t.image);
} else {
return new BigDecimal(t.image);
}
}
) | (
t = <NUMBER_INTEGER>
{
if(nativeNumbers) {
return new Long(t.image);
} else {
return new BigInteger(substringBefore(t.image, '.'));
}
}
)
Metadata
Metadata
Assignees
Labels
No labels