https://bugs.winehq.org/show_bug.cgi?id=55006
Bug ID: 55006 Summary: vbscript single line if else without else body fails compilation Product: Wine Version: unspecified Hardware: aarch64 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs@winehq.org Reporter: francisdb@gmail.com
This is valid vbs when run with `cscript`
``` If x = 1 Then DoSomething() Else ```
wine vbscript fails with: "Compile error: Line: #, Character: #, Description unavailable"
Workaround is changing the code to
``` If x = 1 Then DoSomething() Else: ```
or
``` If x = 1 Then DoSomething() ```