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