From e41936441bf9fcab9fb4d8ceb70cc73d2a38c9c0 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 6 Apr 2010 03:01:52 +0000 Subject: Surpress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/ruby_lex.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rdoc') diff --git a/lib/rdoc/ruby_lex.rb b/lib/rdoc/ruby_lex.rb index eda7b81e1f..59de6cc762 100644 --- a/lib/rdoc/ruby_lex.rb +++ b/lib/rdoc/ruby_lex.rb @@ -453,7 +453,7 @@ class RDoc::RubyLex if @lex_state != EXPR_END && @lex_state != EXPR_CLASS && (@lex_state != EXPR_ARG || @space_seen) c = peek(0) - if /\S/ =~ c && (/["'`]/ =~ c || /[\w_]/ =~ c || c == "-") + if /\S/ =~ c && (/["'`]/ =~ c || /\w/ =~ c || c == "-") tk = identify_here_document end end -- cgit v1.2.3