diff options
-rwxr-xr-x | lcheck.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -62,6 +62,13 @@ def normalize(txt): l = l.replace(';', ' ').strip() l = l.replace(':', ' ').strip() l = l.replace('/', ' ').strip() + l = l.replace('(', ' ').strip() + l = l.replace(')', ' ').strip() + l = l.replace('-', ' ').strip() + l = l.replace('"', ' ').strip() + l = l.replace('|', ' ').strip() + l = l.replace('\'', ' ').strip() + l = l.replace('`', ' ').strip() while l.find(' ') >= 0: l = l.replace(' ', ' ') @@ -820,7 +827,7 @@ class scanentry(object): if ls.endswith('*/'): continue j += 1 - self.patch.append('/*n') + self.patch.append('/*\n') start_bp_comment = j continue # HACK |