Iterating over modules

Chris Wright via Digitalmars-d digitalmars-d at puremagic.com
Thu Feb 4 10:29:52 PST 2016


On Thu, 04 Feb 2016 16:57:09 +0000, Zoadian wrote:

> enum fileContent = import(__FILE__);
> 
> parse imports and repeat this recursivly for all found imports

The path for module imports is not the same as the path for file imports, 
so this might not do everything you want.


More information about the Digitalmars-d mailing list