Parser doesn't handle numerical constants in scientific notation
Closed this issue · 0 comments
d0sboots commented
Import the following script:
BFRlc3QAAAAAAAAAAAEAAAAQbG9jYWwuZG91YmxlLnNldAhjb25zdGFudAQBaQhjb25zdGFudAMzp6jVI/ZJOQ==
It produces the following code when imported:
:local double i
i = 1e-32
The code fails to compile, with the following error:
3: unexpected symbol: e
i = 1e-32
^
This script was produced in-game by typing 0.00000000000000000000000000000001 in as the constant value, so it's totally legal.