CaseStatement is currently written as CaseStatement: case ExpressionList : Statement Here the grammar refers to ExpressionList, described as a ',' separated list of Expression. However, Expression is a ',' separated list of AssignExpression. So this is highly ambiguous. There's no way from the description to distinguish between AssignExpressions that should be evaluated and ignored, and cases to be handled. If we define: ExpressionList: AssignExpression AssignExpression , ExpressionList then the problem goes away. The text should be adjusted to match.
http://www.dsource.org/projects/phobos/changeset/1375
Fixed dmd 1.054 and 2.038
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル