view dmd/CSX.d @ 178:e3afd1303184

Many small bugs fixed Made all classes derive from TObject to detect memory leaks (functionality is disabled for now) Began work on overriding backend memory allocations (to avoid memory leaks)
author korDen
date Sun, 17 Oct 2010 07:42:00 +0400
parents 10317f0c89a5
children
line wrap: on
line source

module dmd.CSX;

enum CSX
{
	CSXthis_ctor = 1,	// called this()
	CSXsuper_ctor = 2,	// called super()
	CSXthis	= 4,	// referenced this
	CSXsuper = 8,	// referenced super
	CSXlabel = 0x10,	// seen a label
	CSXreturn = 0x20,	// seen a return statement
	CSXany_ctor = 0x40,	// either this() or super() was called
}

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