digitalmars.D.bugs - [Issue 10247] New: LastCatch grammar does not match implementation
- d-bugmail puremagic.com (23/23) Jun 02 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10247
http://d.puremagic.com/issues/show_bug.cgi?id=10247 Summary: LastCatch grammar does not match implementation Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: brian-schott cox.net Consider the following code: try { functionCall(); } catch (a + b).c(); This should match the LastCatch rule because (a + b).c() falls under the category of NoScopeNonEmptyStatement, but dmd's parser only checks the opening paren after the 'catch' token and tries going for the Catch rule. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 02 2013