diff --git a/rdmd.d b/rdmd.d index 84bf8ddcc7..998d0c7844 100644 --- a/rdmd.d +++ b/rdmd.d @@ -411,7 +411,7 @@ private string[string] getDependencies(string rootModule, string objDir, scope(exit) collectException(depsReader.close); // don't care for errors // Fetch all dependencies and append them to myDeps - auto pattern = new RegExp(r"^(import|file|binary|config)\s+([^\(]+)\(?([^\)]*)\)?\s*$"); + auto pattern = new RegExp(r"^(import|file)\s+([^\(]+)\(?([^\)]*)\)?\s*$"); foreach (string line; lines(depsReader)) { if (!pattern.test(line)) continue; @@ -428,10 +428,6 @@ private string[string] getDependencies(string rootModule, string objDir, myDeps[pattern[3].strip()] = null; break; - case "binary", "config": - myDeps[pattern[2].strip()] = null; - break; - default: assert(0); } }