Mercurial > projects > ddmd
view dmd/DDMDExtensions.d @ 190:80660782bffe
Fixed deprecated function call
author | korDen@korDen-pc |
---|---|
date | Sun, 25 Mar 2012 01:39:46 +0400 |
parents | b0d41ff5e0df |
children |
line wrap: on
line source
module dmd.DDMDExtensions; /++ If you're making a tool based off of DDMD, you can uncomment the commented lines below, and change "DSuperTool" to the name of your tool. Then, create your own module to handle "insertMemberDSuperTool". That will allow you to insert code into any module or class in DDMD's AST without actually having to modify DDMD's actual AST code. +/ //import DSuperTool.DDMDExtension; template insertMemberExtension(T) { //mixin insertMemberDSuperTool!T; }