January 19, 2015 [Issue 14009] New: iasm parser accepts incorrest AsmExp | ||||
---|---|---|---|---|
| ||||
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 } } -- |
Copyright © 1999-2021 by the D Language Foundation