www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1212] New: dmd generates bad line info

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1212

           Summary: dmd generates bad line info
           Product: D
           Version: 1.014
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: davidl 126.com


int func1(){return 1;}
int func2(){return 1;}
int myfunc()
{
    return (func1+
           (func2;
}
void main()
{
}

error message :
bug1.d(11): found ';' when expecting ')'
bug1.d(5): found '}' when expecting ')'


-- 
May 05 2007
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1212


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed DMD 1.018 and DMD 2.002


-- 
Jul 01 2007