http://d.puremagic.com/issues/show_bug.cgi?id=10791


Kenji Hara <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


--- Comment #1 from Kenji Hara <[email protected]> 2013-08-13 05:16:44 PDT ---
http://dlang.org/statement.html

Statement:
  NonEmptyStatement

NonEmptyStatement:
  NonEmptyStatementNoCaseNoDefault

NonEmptyStatementNoCaseNoDefault:
  AsmStatement

AsmStatement:
  asm { }
  asm { AsmInstructionList }

AsmStatement does not take semicolon at the end, then

if(1)
        asm {};
    else
        asm {};

is mostly same as:

if (1) { asm {} }
;
else { asm {} }
;

and the 'else' part is stray.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to