https://bugs.winehq.org/show_bug.cgi?id=54493
Bug ID: 54493 Summary: vbscript fails to compile concat when used without space and expression begins with H Product: Wine Version: 7.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs@winehq.org Reporter: jsm174@gmail.com Distribution: ---
While porting Visual Pinball to cross platform, I ran into a script with the following:
DMD CL(0, "HIGHSCORES"), "1> " &HighScoreName(0) & " " &FormatScore(HighScore(0)), "", eNone, eScrollLeft, eNone, 2000, False, ""
This is valid in vbscript and knows that &HighScoreName is not a hex number.
In lex.c I see:
case '&': if(*++ctx->ptr == 'h' || *ctx->ptr == 'H') return parse_hex_literal(ctx, lval); return '&';
Is there a way we could advance to make sure it's really a hex value instead of a variable?
https://bugs.winehq.org/show_bug.cgi?id=54493
Robert Wilhelm sloper42@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sloper42@yahoo.com Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |e8bd066514fb343790b3831d3e6 | |2709f80366d61
--- Comment #1 from Robert Wilhelm sloper42@yahoo.com --- Thanks to Jason, this is fixed now after https://gitlab.winehq.org/wine/wine/-/merge_requests/2214
https://bugs.winehq.org/show_bug.cgi?id=54493
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.2.
https://bugs.winehq.org/show_bug.cgi?id=54493
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0.x
https://bugs.winehq.org/show_bug.cgi?id=54493
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|8.0.x |---
--- Comment #3 from Michael Stefaniuc mstefani@winehq.org --- Removing the 8.0.x milestone from bug fixes included in 8.0.1.