1212 – dmd generates bad line info

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 1212 - dmd generates bad line info
Summary: dmd generates bad line info
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P2 normal
Assignee: Walter Bright
URL:
Keywords: diagnostic
Depends on:
Blocks:
Reported: 2007年05月05日 08:59 UTC by david
Modified: 2014年02月16日 15:21 UTC (History)
0 users

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
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 によって変換されたページ (->オリジナル) /