[Bug 32679] cmd.exe Add support for || and &&
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Jan 21 12:01:47 CST 2019
https://bugs.winehq.org/show_bug.cgi?id=32679
--- Comment #13 from alexcoffin1999 at gmail.com ---
(In reply to joaopa from comment #12)
> Does the bug still occur with wine-4.0-rc7?
Yep just try "echo expected && echo expected || echo unexpected"
It was more complicated to properly implement than I had initially thought and
then I became busy. It turns out that batch followed the usual programming
language rules somewhat (if I recall correctly), I only note the usual part
since it usually doesn't, and had operator precedence and parentheses correctly
handled for "&&" and "||" along with somehow handling "&" and "|" (I forget
how). My *very old* patch had only dealt with the section on global ERRORLEVEL
as opposed to operator precedence, parentheses, etc. and was rejected (rightly
so) for those reasons.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list