Skip to content

Commit 090ce46

Browse files
committed
textproc update
1 parent d694be2 commit 090ce46

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tools/textproc.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ def filter_c_strings(text):
7777
# Remove multi-line comments (/*...*/)
7878
text = re.sub(r'/\*.*?\*/', '', text, flags=re.DOTALL)
7979

80-
# Remove preprocessor directives (#...)
81-
text = re.sub(r'(#.*?)".*?"', r'\1', text)
82-
8380
# Find all strings in double quotes, including multi-line strings
8481
strings = re.findall(r'"((?:[^"\\]|\\.)*?)"', text, re.DOTALL)
8582

0 commit comments

Comments
 (0)