https://bugs.winehq.org/show_bug.cgi?id=36368
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Summary|MicrosoftFixit50588 tool |MicrosoftFixit50588 tool |raises a vbscript parsing |raises a vbscript parsing |error |error (single-line | |'If...Then' with trailing | |'End If') Ever confirmed|0 |1
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
Relevant part of the VBScript code that causes parser error:
--- snip --- If IsNull(GetOSSPVersion) Then GetOSSPVersion=0 End If If Err.Number <> 0 Then GetOSSPVersion=0 End If --- snip ---
Single-line 'If...Then' syntax doesn't require 'End If' (it's not even mentioned).
MSDN: http://msdn.microsoft.com/en-us/library/5h27x7e9%28v=vs.84%29.aspx
Maybe they changed their mind with newer versions of the script language to allow this?
$ wine --version wine-1.7.34-36-g4493323
Regards