Bug 14047 – "this" missing from AsmPrimaryExp grammar

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-01-26T10:02:00Z
Last change time
2015-01-26T22:30:39Z
Keywords
iasm, pull, spec
Assigned to
nobody
Creator
briancschott
Blocks
10233

Comments

Comment #0 by briancschott — 2015-01-26T10:02:11Z
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.
Comment #1 by briancschott — 2015-01-26T22:14:13Z
Comment #2 by github-bugzilla — 2015-01-26T22:24:12Z
Commits pushed to master at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/a423ec0cae4f2a0b2eec1b8218f501dee05766b7 Issue 14047 - "this" missing from AsmPrimaryExp grammar https://github.com/D-Programming-Language/dlang.org/commit/1316185ca25bdb952974d3592f15cb1bb1e010e3 Merge pull request #855 from Hackerpilot/issue-14047 Issue 14047 - "this" missing from AsmPrimaryExp grammar