https://bugs.winehq.org/show_bug.cgi?id=53783
Bug ID: 53783 Summary: vbscript can not compile private const expressions Product: Wine Version: 7.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs@winehq.org Reporter: jsm174@gmail.com Distribution: ---
While working on leveraging the vbscript engine of Wine for a macos/linux port of Visual Pinball, I've been testing several user made scripts.
I've found some scripts that have constants that are marked private even though they are not part of class. Somehow that works in real VBS but fails here:
Private Const conStackSw = 8 ' Stack switches Private Const conMaxBalls = 13 ' Because of Apollo 13 Private Const conMaxTimers = 20 ' Spinners can generate a lot of timers Private Const conTimerPulse = 40 ' Timer runs at 25Hz Private Const conFastTicks = 4 ' Fast is 4 times per timer pulse Private Const conMaxSwHit = 5 ' Don't stack up more than 5 events for each switch
Wscript.Echo conStackSw Wscript.Echo conMaxBalls Wscript.Echo conMaxTimers
https://bugs.winehq.org/show_bug.cgi?id=53783
Robert Wilhelm sloper42@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |sloper42@yahoo.com
--- Comment #1 from Robert Wilhelm sloper42@yahoo.com --- confirming.
https://bugs.winehq.org/show_bug.cgi?id=53783
Robert Wilhelm sloper42@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |5cf0d974167acf8495202050b51 | |915716db0db6a
--- Comment #2 from Robert Wilhelm sloper42@yahoo.com --- Should be fixed now after 5cf0d974167acf8495202050b51915716db0db6a.
https://bugs.winehq.org/show_bug.cgi?id=53783
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc1.