[cfe-commits] r62097 - /cfe/trunk/tools/ccc/ccclib/Driver.py
Daniel Dunbar
daniel at zuster.org
Mon Jan 12 11:36:36 PST 2009
Author: ddunbar
Date: Mon Jan 12 13:36:35 2009
New Revision: 62097
URL: http://llvm.org/viewvc/llvm-project?rev=62097&view=rev
Log:
ccc: Add leading space in -### output to match gcc.
Modified:
cfe/trunk/tools/ccc/ccclib/Driver.py
Modified: cfe/trunk/tools/ccc/ccclib/Driver.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Driver.py?rev=62097&r1=62096&r2=62097&view=diff
==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Driver.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Driver.py Mon Jan 12 13:36:35 2009
@@ -153,11 +153,11 @@
self.claim(hasHashHashHash)
for j in jobs.iterjobs():
if isinstance(j, Jobs.Command):
- print >>sys.stderr, '"%s"' % '" "'.join(j.getArgv())
+ print >>sys.stderr, ' "%s"' % '" "'.join(j.getArgv())
elif isinstance(j, Jobs.PipedJob):
for c in j.commands:
- print >>sys.stderr, '"%s" %c' % ('" "'.join(c.getArgv()),
- "| "[c is j.commands[-1]])
+ print >>sys.stderr, ' "%s" %c' % ('" "'.join(c.getArgv()),
+ "| "[c is j.commands[-1]])
elif not isinstance(j, JobList):
raise ValueError,'Encountered unknown job.'
sys.exit(0)
More information about the cfe-commits
mailing list