Skip to content

Commit 86f41c4

Browse files
committed
Forgot to remove some code
1 parent 37efe53 commit 86f41c4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tools/msftidy.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,12 @@ def check_badchars
6464

6565
in_super = false
6666
in_author = false
67-
is_text = false
68-
is_comment = false
6967

7068
@source.each_line do |line|
7169
#
7270
# Mark our "super" code block
7371
#
74-
if line =~ /^#/ or line =~ /^=begin/
75-
next
76-
elsif !in_super and line =~ /[\n\t]+super\(/
72+
if !in_super and line =~ /[\n\t]+super\(/
7773
in_super = true
7874
elsif in_super and line =~ /[[:space:]]*def \w+[\(\w+\)]*/
7975
in_super = false

0 commit comments

Comments
 (0)