[Issue 4077] Bugs caused by bitwise operator precedence

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 21 14:48:43 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4077



--- Comment #10 from Don <clugdbug at yahoo.com.au> 2010-06-21 14:48:40 PDT ---
Created an attachment (id=669)
Patch against svn 552, D2

This patch implements Stewart Gordon's proposal. Quite simple, since it is just
the parser.
I'm not sure if there's a better way of doing it, but it still only affects a
small number of lines. Most of this patch involves creating nice error messages
when ambiguities occur.
I have NOT dealt with the code in the 'global.params.Dversion == 1' block
inside parseAndExp(). I don't know if it's current; in any case it's completely
different to the code in D1. Possibly this needs to change as well, for code
inside version(D1) blocks.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list