Merge pull request #79 from rocky/revert-78-patch-1

Revert "fix bug : not generate all files when use "-ro""
This commit is contained in:
R. Bernstein
2017-01-11 07:10:23 -05:00
committed by GitHub

View File

@@ -143,7 +143,6 @@ def main(in_base, out_base, files, codes, outfile=None,
# Try to uncompile the input file # Try to uncompile the input file
try: try:
decompile_file(infile, outstream, showasm, showast, showgrammar) decompile_file(infile, outstream, showasm, showast, showgrammar)
outfile = None
tot_files += 1 tot_files += 1
except (ValueError, SyntaxError, ParserError, pysource.SourceWalkerError) as e: except (ValueError, SyntaxError, ParserError, pysource.SourceWalkerError) as e:
sys.stdout.write("\n") sys.stdout.write("\n")