https://bugs.winehq.org/show_bug.cgi?id=49820
Bug ID: 49820 Summary: VBScript fails to parse decimal literals between -1 and 1 without 0 in front Product: Wine Version: 5.17 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs@winehq.org Reporter: dimaki@rocketmail.com Distribution: ---
In a VBScript script file decimals such as .2 and -.1 wrongly result in a parsing error. No parsing error occurs if a zero is placed in front such as 0.2 and -0.1
Sample script that fails parsing:
Dim x x = .2 WScript.Echo(x)
https://bugs.winehq.org/show_bug.cgi?id=49820
Robert Wilhelm sloper42@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sloper42@yahoo.com
--- Comment #1 from Robert Wilhelm sloper42@yahoo.com --- confirming in wine-5.16-181-g8827eb6a83.
https://bugs.winehq.org/show_bug.cgi?id=49820
--- Comment #2 from Robert Wilhelm sloper42@yahoo.com --- I send a patch https://source.winehq.org/patches/data/192656
https://bugs.winehq.org/show_bug.cgi?id=49820
Dmitry Kislyuk dimaki@rocketmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |a31023a67812714f503250dc25a | |bbc086439790a Resolution|--- |FIXED
--- Comment #3 from Dmitry Kislyuk dimaki@rocketmail.com --- Robert's patch has been committed and I can confirm that the big is fixed now. Thank you Robert!
https://bugs.winehq.org/show_bug.cgi?id=49820
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.18.
https://bugs.winehq.org/show_bug.cgi?id=49820
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x
https://bugs.winehq.org/show_bug.cgi?id=49820
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 5.0.x milestone from bug fixes included in 5.0.4.