Skip to content

Commit

Permalink
Merge pull request #52 from AndrejMitrovic/Fix9778
Browse files Browse the repository at this point in the history
Issue 9778 - Support passing resource files to DMD.
  • Loading branch information
AndrejMitrovic committed Mar 21, 2013
2 parents e1f2251 + e164d34 commit bdabcae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdmd.d
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ size_t indexOfProgram(string[] args)
foreach(i, arg; args[1 .. $])
{
if (!arg.startsWith('-', '@') &&
!arg.endsWith(".obj", ".o", ".lib", ".a", ".def", ".map"))
!arg.endsWith(".obj", ".o", ".lib", ".a", ".def", ".map", ".res"))
{
return i + 1;
}
Expand Down

0 comments on commit bdabcae

Please sign in to comment.