May 07 [Issue 24544] New: asm grammar dosn't covers bracket syntax | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24544 Issue ID: 24544 Summary: asm grammar dosn't covers bracket syntax Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: dlang.org Assignee: nobody@puremagic.com Reporter: info@lapyst.by The current grammar for asm statements does not cover the following code: ```d asm { mov ECX, [ESP + 1] } ``` While there exists a rule in `AsmBrExp` that allows for some brackets, they require an expression before the beginning bracket: ```d void* pc; asm { mov pc[EBP],EBX } ``` -- |
Copyright © 1999-2021 by the D Language Foundation