coatl / redparse

RedParse is a ruby parser written in pure ruby.
redparse.rubyforge.org
GNU Lesser General Public License v2.1
24 stars 2 forks source link

unable to call RedParse#parse twice on same object #4

Open rdp opened 15 years ago

rdp commented 15 years ago

nope you are not.

rdp commented 14 years ago

I think this might corrupt the cache, leading to future calls failing oddly:

>> parser=RedParse.new("some ruby code here")
=> RedParse: [some ruby code here]
>> parser.parse
>> parser=RedParse.new("some ruby code here")
=> RedParse: []