Bug 13301 – Inline ASM documentation does not allow string literals

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-08-15T22:03:00Z
Last change time
2016-01-03T14:19:55Z
Keywords
iasm, pull, spec
Assigned to
nobody
Creator
briancschott
Blocks
10233

Comments

Comment #0 by briancschott — 2014-08-15T22:03:45Z
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
Comment #1 by briancschott — 2015-01-26T23:18:28Z
Comment #2 by github-bugzilla — 2015-11-21T19:38:32Z
Commits pushed to master at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/34d6b17582002eb1f3178c77664e459b555d7c4b Issue 13301 - Inline ASM documentation does not allow string literals https://github.com/D-Programming-Language/dlang.org/commit/20b34f54aaeb876b545bac1d34b954db15f0a237 Merge pull request #860 from Hackerpilot/issue-13301 Issue 13301 - Inline ASM documentation does not allow string literals
Comment #3 by mathias.lang — 2015-12-16T18:41:48Z
Closing as the P.R. was merged.
Comment #4 by github-bugzilla — 2016-01-03T14:19:55Z