[Issue 13302] New: Inline ASM grammar is not left-associative
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Aug 15 15:09:08 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13302
Issue ID: 13302
Summary: Inline ASM grammar is not left-associative
Product: D
Version: D2
Hardware: All
URL: http://dlang.org/iasm.html
OS: All
Status: NEW
Keywords: iasm, spec
Severity: normal
Priority: P1
Component: websites
Assignee: nobody at puremagic.com
Reporter: briancschott at gmail.com
Blocks: 10233
Many rules on the inline ASM specification page look like this:
AsmLogOrExp:
AsmLogAndExp
AsmLogAndExp || AsmLogAndExp
This should probably be written as
AsmLogOrExp:
AsmLogAndExp
AsmLogOrExp || AsmLogAndExp
to properly document the fact that code like "mov RAX, 1 || 2 || 3;" will
compile. The same fix needs to be applied to many of the binary expression
rules on the inline ASM documentation.
--
More information about the Digitalmars-d-bugs
mailing list