[Issue 11488] New: FORTRAN "FORI=" Error
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat Nov  9 12:21:16 PST 2013
    
    
  
https://d.puremagic.com/issues/show_bug.cgi?id=11488
           Summary: FORTRAN "FORI=" Error
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nobody at puremagic.com
        ReportedBy: svv1999 at hotmail.com
--- Comment #0 from Manfred Nowak <svv1999 at hotmail.com> 2013-11-09 12:21:15 PST ---
... may have reached D.
According to http://dlang.org/expression.html#UnaryExpression
both "--" and "-" are legal prefices and both can be chained.
This means that a statement like "x= --y;" stays legal when wrongly inserted
whitespace turns it into "x= - -y;".
This can be prevented when the alternative
  " - UnaryExpression"
is changed into
  " - PostfixExpression"
thereby disallowing to chain negation operators.
-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list