diff options
Diffstat (limited to 'ext/socket/mkconstants.rb')
-rw-r--r-- | ext/socket/mkconstants.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb index b772648cce..96370fa64e 100644 --- a/ext/socket/mkconstants.rb +++ b/ext/socket/mkconstants.rb @@ -40,7 +40,7 @@ h = {} COMMENTS = Hash.new { |h, name| h[name] = name } DATA.each_line {|s| - name, default_value, comment = s.chomp.split "\t" + name, default_value, comment = s.chomp.split(/\s+/, 3) next unless name && name[0] != ?# default_value = nil if default_value == 'nil' |