https://bugs.winehq.org/show_bug.cgi?id=57912
Bug ID: 57912 Summary: cmd: not every ( is a command grouping Product: Wine Version: 10.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: blubban@gmail.com Distribution: ---
@echo off if 1==2 ( echo(1 xif 1==2 ( echo 2 ) echo 3)) echo 4
Expected (win10):
3)) 4
Actual (wine 10.2):
Syntax error: unexpected ( 4
Oddly enough, it seems that every ) is, in fact, a command grouping.
@echo off if 1==2 ( echo () echo 1 ) echo 2
Expected (win10):
1 2
Actual (wine 10.2):
Syntax error: unexpected ( 2
Reduced from update.bat in https://www.smwcentral.net/?p=section&a=details&id=33546
http://bugs.winehq.org/show_bug.cgi?id=57912
Eric Pouech eric.pouech@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@gmail.com Fixed by SHA1| |56e1857cd20ef609aa6a96ed978 | |82d998cffbae8 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Eric Pouech eric.pouech@gmail.com --- fixed
http://bugs.winehq.org/show_bug.cgi?id=57912
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.15.