godot/modules/gdscript
Dennis Brakhane a04a78c7f6 correctly parse floats in scientific notation
GDScript incorrectly parsed float values in scientific notation
when no decimal point was given. "1e-5" was parsed as "15".

Fix this by not requiring a decimal point when we found an exponent
for the number to be considered a float.

Fixes #5267

(cherry picked from commit c246931f03)
2016-06-25 01:41:57 +02:00
..
SCsub Cosmetic fixes to SCons buildsystem 2015-11-01 20:53:26 +01:00
config.py Remove trailing spaces 2016-04-02 22:19:40 +02:00
gd_compiler.cpp Subclasses can now extend from other subclasses contained in scripts derived from relative paths. 2016-04-27 08:42:48 +02:00
gd_compiler.h remove trailing whitespace 2016-04-02 22:03:48 +02:00
gd_editor.cpp Fix crash in code completion 2016-06-25 01:41:56 +02:00
gd_functions.cpp Fix Color8 constructor using wrong value range 2016-06-05 00:00:08 +02:00
gd_functions.h Added var2bytes and bytes2var to convet any variable to bytes and back. Closes #2075 2016-01-02 21:07:03 -03:00
gd_parser.cpp remove unnecesary found bug? print, closes #5028 2016-06-25 01:22:40 +02:00
gd_parser.h -remove unnecesary error report, fixes #3361 2016-01-23 15:36:03 -03:00
gd_pretty_print.cpp Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
gd_pretty_print.h Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
gd_script.cpp remove trailing whitespace 2016-04-02 22:03:48 +02:00
gd_script.h remove trailing whitespace 2016-04-02 22:03:48 +02:00
gd_tokenizer.cpp correctly parse floats in scientific notation 2016-06-25 01:41:57 +02:00
gd_tokenizer.h PI is now a built-in constant, fixes #2134 2016-01-02 17:56:45 -03:00
register_types.cpp Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
register_types.h Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00