From: "Chr. Rippel" Date: 2002-02-08T22:45:08+09:00 Subject: Small Rdoc patch This is a multi-part message in MIME format. ------=_NextPart_000_0093_01C1B0AC.68A5BBC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi Dave, the current Rdoc and Ruby CVSs don't like each other - the culprit is an eval in parse.rb which should be an class_eval . Anyway I fixed it according to the Fixme note. Anyway, thank you very much for this great tool. /Christoph ------=_NextPart_000_0093_01C1B0AC.68A5BBC0 Content-Type: application/octet-stream; name="diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="diff" --- rdoc/parse.rbi.old Thu Feb 7 15:04:26 2002=0A= +++ rdoc/parse.rb Fri Feb 8 14:19:35 2002=0A= @@ -265,9 +265,10 @@=0A= IRB.fail AlreadyDefinedToken, token_n=0A= end=0A= =0A= - #FIXME: could this be Class.new...?=0A= - token_c =3D eval("class #{token_n} < #{super_token}; end; = #{token_n}")=0A= - =0A= + token_c =3D Class.new super_token=0A= + RubyToken.const_set token_n, token_c=0A= + token_c.inspect=0A= + =0A= if reading=0A= if TkReading2Token[reading]=0A= IRB.fail TkReading2TokenDuplicateError, token_n, reading=0A= ------=_NextPart_000_0093_01C1B0AC.68A5BBC0--