summaryrefslogtreecommitdiff
path: root/lib/rexml/dtd
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/dtd')
-rw-r--r--lib/rexml/dtd/dtd.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/rexml/dtd/dtd.rb b/lib/rexml/dtd/dtd.rb
index 966e39ea57..62317bac9e 100644
--- a/lib/rexml/dtd/dtd.rb
+++ b/lib/rexml/dtd/dtd.rb
@@ -24,23 +24,18 @@ module REXML
case input
when ElementDecl.PATTERN_RE
match = $&
- source = $'
contents << ElementDecl.new( match )
when AttlistDecl.PATTERN_RE
matchdata = $~
- source = $'
contents << AttlistDecl.new( matchdata )
when EntityDecl.PATTERN_RE
matchdata = $~
- source = $'
contents << EntityDecl.new( matchdata )
when Comment.PATTERN_RE
matchdata = $~
- source = $'
contents << Comment.new( matchdata )
when NotationDecl.PATTERN_RE
matchdata = $~
- source = $'
contents << NotationDecl.new( matchdata )
end
end