diff options
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/fixnotice.py | 2 | ||||
-rwxr-xr-x | Tools/scripts/ifdef.py | 4 | ||||
-rwxr-xr-x | Tools/scripts/pathfix.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Tools/scripts/fixnotice.py b/Tools/scripts/fixnotice.py index aac8697..ad967f9 100755 --- a/Tools/scripts/fixnotice.py +++ b/Tools/scripts/fixnotice.py @@ -2,7 +2,7 @@ """(Ostensibly) fix copyright notices in files. -Actually, this sript will simply replace a block of text in a file from one +Actually, this script will simply replace a block of text in a file from one string to another. It will only do this once though, i.e. not globally throughout the file. It writes a backup file and then does an os.rename() dance for atomicity. diff --git a/Tools/scripts/ifdef.py b/Tools/scripts/ifdef.py index 46167ad..b1711ce 100755 --- a/Tools/scripts/ifdef.py +++ b/Tools/scripts/ifdef.py @@ -9,11 +9,11 @@ # options. On standard output it writes a copy of the input file(s) # minus those code sections that are suppressed by the selected # combination of defined/undefined symbols. The #if(n)def/#else/#else -# lines themselfs (if the #if(n)def tests for one of the mentioned +# lines themselves (if the #if(n)def tests for one of the mentioned # names) are removed as well. # Features: Arbitrary nesting of recognized and unrecognized -# preprocesor statements works correctly. Unrecognized #if* commands +# preprocessor statements works correctly. Unrecognized #if* commands # are left in place, so it will never remove too much, only too # little. It does accept whitespace around the '#' character. diff --git a/Tools/scripts/pathfix.py b/Tools/scripts/pathfix.py index dd08e0a..13ca866 100755 --- a/Tools/scripts/pathfix.py +++ b/Tools/scripts/pathfix.py @@ -151,7 +151,7 @@ def fix(filename): except os.error as msg: err('%s: reset of timestamp failed (%r)\n' % (filename, msg)) return 1 - # Return succes + # Return success return 0 def fixline(line): |