Commit f421fb7
fix: restrict # comment detection to languages that use it
Limit # as a comment indicator to Python/Ruby/Shell only, not
C/C++/Rust/Java where # starts preprocessor directives or attributes.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4c67db5 commit f421fb7
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
269 | 271 | | |
270 | 272 | | |
271 | 273 | | |
272 | 274 | | |
273 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
274 | 278 | | |
275 | 279 | | |
276 | 280 | | |
| |||
0 commit comments