Skip to content

Commit

Permalink
Fix JSON parsing function of numerals formatted as scientific notatio…
Browse files Browse the repository at this point in the history
…n with uppercase E (#1580)

Co-authored-by: jonpas <jonpas33@gmail.com>
  • Loading branch information
initramfs and jonpas authored Sep 3, 2023
1 parent 846b173 commit 5b66bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/hashes/fnc_parseJSON.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private _tokenize = {
_input = toArray _input apply {toString [_x]};

private _tokens = [];
private _numeric = "+-.0123456789e" splitString "";
private _numeric = "+-.0123456789eE" splitString "";
private _symbols = "{}[]:," splitString "";
private _consts = "tfn" splitString "";

Expand Down

0 comments on commit 5b66bbf

Please sign in to comment.