The .preprocess() method didn't work, because it didn't add the input file

to the command-line arguments.  Fix this by adding the source filename.
This commit is contained in:
Andrew M. Kuchling 2002-09-09 12:16:58 +00:00
parent 4013cbd06b
commit df453fd026

View file

@ -92,6 +92,7 @@ def preprocess(self, source,
pp_args[:0] = extra_preargs
if extra_postargs:
pp_args.extend(extra_postargs)
pp_args.append(source)
# We need to preprocess: either we're being forced to, or we're
# generating output to stdout, or there's a target output file and