Mercurial > projects > ddmd
view dmd/MATCH.d @ 175:94b6033c07f3
get rid of globals
malloc -> GC.malloc
author | korDen |
---|---|
date | Sun, 10 Oct 2010 03:48:06 +0400 |
parents | 10317f0c89a5 |
children |
line wrap: on
line source
module dmd.MATCH; version (DMDV2) { enum MATCH { MATCHnomatch, // no match MATCHconvert, // match with conversions MATCHconst, // match with conversion to const MATCHexact // exact match } } else { enum MATCH { MATCHnomatch, // no match MATCHconvert, // match with conversions MATCHexact // exact match } } import dmd.EnumUtils; mixin(BringToCurrentScope!(MATCH));