[Issue 9287] DMD should read from stdin when an input file is "-"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 10 10:24:53 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9287


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-01-10 10:24:49 PST ---
This is problematic because DMD uses single dash for arguments, if you
accidentally run DMD with:

$ dmd -arg1 - arg2 -arg3

You're going to get some pretty awful error messages if DMD tries to read this.
But you can already use RDMD for this via `--eval=code`, why reimplement this
in DMD?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list