Ticket #14799: portlint.tcl.trailing-whitespace.diff
File portlint.tcl.trailing-whitespace.diff, 573 bytes (added by ryandesign (Ryan Carsten Schmidt), 17 years ago) |
---|
-
portlint.tcl
201 201 } 202 202 set require_blank false 203 203 204 if {[regexp {\S[ \t]+$} $line]} { 205 # allow indented blank lines between blocks of code and such 206 ui_warn "Line $lineno has trailing whitespace before newline" 204 if {[regexp {\\[ \t]+$} $line]} { 205 ui_warn "Line $lineno has trailing whitespace after a backslash" 207 206 incr warnings 208 207 } 209 208