Unable to use pregenerated XML
Closed this issue · 2 comments
Burgestrand commented
config.delete[:pregenerated]
… should (at least) be
config.delete(:pregenerated)
Burgestrand commented
As a workaround, instead of using RbGCCXML.parse
, I did this funny little thing:
my_hash = { pregenerated: path_to_pregenerated_xml }
class << my_hash
alias :delete :to_hash
end
rbgccxml_parsed_xml = RbGCCXML.parse([], my_hash
It’s a solution for now.
jasonroelofs commented
See #9 for further discussion. This in particular is fixed.