view dmd/BE.d @ 132:c494af1dba80

Fixes for dmd 2.037
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Fri, 10 Sep 2010 19:14:09 +0100
parents 51605de93870
children
line wrap: on
line source

module dmd.BE;

/* How a statement exits; this is returned by blockExit()
 */
enum BE
{
	BEnone =	 0,
    BEfallthru = 1,
    BEthrow =    2,
    BEreturn =   4,
    BEgoto =     8,
    BEhalt =	 0x10,
    BEbreak =	 0x20,
    BEcontinue = 0x40,
    BEany = (BEfallthru | BEthrow | BEreturn | BEgoto | BEhalt),
}

import dmd.EnumUtils;
mixin(BringToCurrentScope!(BE));