D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.

Issue 1212

Summary: dmd generates bad line info
Product: D Reporter: david <davidl>
Component: dmdAssignee: Walter Bright <bugzilla>
Status: RESOLVED FIXED
Severity: normal Keywords: diagnostic
Priority: P2
Version: D1 (retired)
Hardware: x86
OS: Windows

Description david 2007年05月05日 08:59:49 UTC
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 ')'
Comment 1 Walter Bright 2007年07月01日 14:01:10 UTC
Fixed DMD 1.018 and DMD 2.002

AltStyle によって変換されたページ (->オリジナル) /