diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-10 07:07:52 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-10 07:07:52 +0000 |
commit | e08f18becd2fdb9fde29c2e501ad84120a475d58 (patch) | |
tree | 3b1e5703a76307ca4505b3afb12c561803e88140 /lib/rexml/parsers/baseparser.rb | |
parent | 50e7c1c1495828120ad766e6fca0efba70f011b9 (diff) | |
download | ruby-e08f18becd2fdb9fde29c2e501ad84120a475d58.tar.gz |
* lib/rexml/cdata.rb,lib/rexml/quickpath.rb,lib/rexml/parsers/baseparser.rb:
avoid warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/parsers/baseparser.rb')
-rw-r--r-- | lib/rexml/parsers/baseparser.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rexml/parsers/baseparser.rb b/lib/rexml/parsers/baseparser.rb index e5c2cf7d96..614bdc3948 100644 --- a/lib/rexml/parsers/baseparser.rb +++ b/lib/rexml/parsers/baseparser.rb @@ -263,9 +263,9 @@ module REXML raise REXML::ParseException.new( "error parsing notation: no matching pattern", @source ) end return [ :notationdecl, md[1], md[2], md[3] ] - when /^\s*]\s*>/um + when /^\s*\]\s*>/um @document_status = :after_doctype - @source.match( /^\s*]\s*>/um, true ) + @source.match( /^\s*\]\s*>/um, true ) return [ :end_doctype ] end end |