digitalmars.D.bugs - [Issue 14186] New: Silent syntax change from C and C++
- via Digitalmars-d-bugs (17/17) Feb 16 2015 https://issues.dlang.org/show_bug.cgi?id=14186
https://issues.dlang.org/show_bug.cgi?id=14186 Issue ID: 14186 Summary: Silent syntax change from C and C++ Product: D Version: D1 & D2 Hardware: All OS: All Status: NEW Keywords: spec Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: dfj1esp02 sneakemail.com (a ? b : c = 0) is parsed as ((a ? b : c) = 0) in D, but as (a ? b : (c = 0)) in C and C++. --
Feb 16 2015