diff options
Diffstat (limited to 'Tools/scripts/ifdef.py')
-rwxr-xr-x | Tools/scripts/ifdef.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/scripts/ifdef.py b/Tools/scripts/ifdef.py index c0c1459..15777f4 100755 --- a/Tools/scripts/ifdef.py +++ b/Tools/scripts/ifdef.py @@ -42,11 +42,11 @@ def main(): undefs.append(a) if not args: args = ['-'] - for file in args: - if file == '-': + for filename in args: + if filename == '-': process(sys.stdin, sys.stdout) else: - f = open(file, 'r') + f = open(filename, 'r') process(f, sys.stdout) f.close() |