view dmd/BE.d @ 137:09c858522d55

merge
author Trass3r
date Mon, 13 Sep 2010 23:29:00 +0200
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));