summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlcheck.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/lcheck.py b/lcheck.py
index 402198f..99da4fb 100755
--- a/lcheck.py
+++ b/lcheck.py
@@ -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