[Issue 13301] New: Inline ASM documentation does not allow string literals
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Fri Aug 15 15:03:45 PDT 2014
    
    
  
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: nobody at puremagic.com
          Reporter: briancschott at gmail.com
            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
--
    
    
More information about the Digitalmars-d-bugs
mailing list