digitalmars.D.bugs - [Issue 14009] New: iasm parser accepts incorrest AsmExp
- via Digitalmars-d-bugs (24/24) Jan 19 2015 https://issues.dlang.org/show_bug.cgi?id=14009
https://issues.dlang.org/show_bug.cgi?id=14009 Issue ID: 14009 Summary: iasm parser accepts incorrest AsmExp Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: accepts-invalid, iasm, rejects-valid Severity: minor Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: k.hara.pg gmail.com The first instruction should be accepted, and the second one should be rejected. void main() { asm { //mov EAX, FS: 1 ? 2 : 3; // wrongly rejected with: Error: colon mov EAX, FS: 1 ? 2 : : 3; // wrongly accepted } } --
Jan 19 2015