[Issue 14047] New: "this" missing from AsmPrimaryExp grammar

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jan 26 02:02:11 PST 2015


https://issues.dlang.org/show_bug.cgi?id=14047

          Issue ID: 14047
           Summary: "this" missing from AsmPrimaryExp grammar
           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

Here's some example code from the website:

struct Foo   // or class
{
    int a,b,c;
    int bar()
    {
        asm
        {
            mov EBX, this   ;
            mov EAX, b[EBX] ;
        }
    }
}

The grammar does not allow this. It has no rules containing the "this" keyword.

--


More information about the Digitalmars-d-bugs mailing list