mirror of
https://github.com/dlang/tools.git
synced 2025-04-28 06:00:37 +03:00
Merge pull request #52 from AndrejMitrovic/Fix9778
Issue 9778 - Support passing resource files to DMD.
This commit is contained in:
commit
bdabcaecbe
1 changed files with 1 additions and 1 deletions
2
rdmd.d
2
rdmd.d
|
@ -290,7 +290,7 @@ size_t indexOfProgram(string[] args)
|
||||||
foreach(i, arg; args[1 .. $])
|
foreach(i, arg; args[1 .. $])
|
||||||
{
|
{
|
||||||
if (!arg.startsWith('-', '@') &&
|
if (!arg.startsWith('-', '@') &&
|
||||||
!arg.endsWith(".obj", ".o", ".lib", ".a", ".def", ".map"))
|
!arg.endsWith(".obj", ".o", ".lib", ".a", ".def", ".map", ".res"))
|
||||||
{
|
{
|
||||||
return i + 1;
|
return i + 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue