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)