August 26, 2011 [dmd-internals] [D-Programming-Language/dmd] efcfb9: Implements bug 4375: Require explicit braces when ... | ||||
---|---|---|---|---|
| ||||
Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: efcfb939fa1a5eb6fec80f68a2977bfbd848af4f https://github.com/D-Programming-Language/dmd/commit/efcfb939fa1a5eb6fec80f68a2977bfbd848af4f Author: KennyTM~ <kennytm at gmail.com> Date: 2011-08-26 (Fri, 26 Aug 2011) Changed paths: M src/attrib.c M src/parse.c M src/parse.h Log Message: ----------- Implements bug 4375: Require explicit braces when 'else' is ambiguous (Disallow dangling else) NOTE: The grammar is *not* changed, it is only that a particular instantiation of the grammar rule will be flagged as error. You can disable the check with the -d flag. Commit: 36ef6da0cf20748d716a38da00271812a4a261be https://github.com/D-Programming-Language/dmd/commit/36ef6da0cf20748d716a38da00271812a4a261be Author: KennyTM~ <kennytm at gmail.com> Date: 2011-08-26 (Fri, 26 Aug 2011) Changed paths: A test/compilable/test4375.d A test/fail_compilation/fail4375a.d A test/fail_compilation/fail4375b.d A test/fail_compilation/fail4375c.d A test/fail_compilation/fail4375d.d A test/fail_compilation/fail4375e.d A test/fail_compilation/fail4375f.d A test/fail_compilation/fail4375g.d A test/fail_compilation/fail4375h.d A test/fail_compilation/fail4375i.d A test/fail_compilation/fail4375j.d A test/fail_compilation/fail4375k.d A test/fail_compilation/fail4375l.d A test/fail_compilation/fail4375m.d A test/fail_compilation/fail4375o.d A test/fail_compilation/fail4375p.d A test/fail_compilation/fail4375q.d A test/fail_compilation/fail4375r.d A test/fail_compilation/fail4375s.d A test/fail_compilation/fail4375t.d A test/fail_compilation/fail4375u.d A test/fail_compilation/fail4375v.d A test/fail_compilation/fail4375w.d A test/fail_compilation/fail4375x.d A test/fail_compilation/fail4375y.d Log Message: ----------- Test cases for bug 4375. Commit: 3ffef30d67f2bd47dc8e1699de5002016115dc7e https://github.com/D-Programming-Language/dmd/commit/3ffef30d67f2bd47dc8e1699de5002016115dc7e Author: Walter Bright <walter at walterbright.com> Date: 2011-08-26 (Fri, 26 Aug 2011) Changed paths: M src/attrib.c M src/parse.c M src/parse.h A test/compilable/test4375.d A test/fail_compilation/fail4375a.d A test/fail_compilation/fail4375b.d A test/fail_compilation/fail4375c.d A test/fail_compilation/fail4375d.d A test/fail_compilation/fail4375e.d A test/fail_compilation/fail4375f.d A test/fail_compilation/fail4375g.d A test/fail_compilation/fail4375h.d A test/fail_compilation/fail4375i.d A test/fail_compilation/fail4375j.d A test/fail_compilation/fail4375k.d A test/fail_compilation/fail4375l.d A test/fail_compilation/fail4375m.d A test/fail_compilation/fail4375o.d A test/fail_compilation/fail4375p.d A test/fail_compilation/fail4375q.d A test/fail_compilation/fail4375r.d A test/fail_compilation/fail4375s.d A test/fail_compilation/fail4375t.d A test/fail_compilation/fail4375u.d A test/fail_compilation/fail4375v.d A test/fail_compilation/fail4375w.d A test/fail_compilation/fail4375x.d A test/fail_compilation/fail4375y.d Log Message: ----------- Merge pull request #336 from kennytm/bug4375_danglingElse Bug 4375: Dangling else Compare: https://github.com/D-Programming-Language/dmd/compare/04df88c...3ffef30 |
Copyright © 1999-2021 by the D Language Foundation