https://issues.dlang.org/show_bug.cgi?id=13301
Issue ID: 13301
Summary: Inline ASM documentation does not allow string
literals
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: [email protected]
Reporter: [email protected]
Blocks: 10233
An example on the inline ASM page has the following line of code:
db "abc"; // insert bytes 0x61, 0x62, and 0x63
The grammar for inline ASM does not say that string literals are legal primary
expressions.
AsmPrimaryExp:
IntegerLiteral
FloatLiteral
__LOCAL_SIZE
$
Register
Register64
DotIdentifier
--