On Apr 26, 2010, at 1:52 PM, stephane ducasse wrote:
> Hi guys
> I loaded the latest version of moose OncifgurationOfMoose loadDefault.
> Then I loaded ConfigurationOfCAnalyze loadDefault
> then I opened a moose browser and tried to load C files but I got the following error
> ensureGlobalVariable: xmlDecl in: caUnit
> | variableName xmlVariableName famixVariable |
> self assert: [ xmlDecl name == #'decl' ].
> and xmlDecl name -> 'decl' and not a symbol
We fixed that with cyrille but now
and some other protocol changes
the are some expressions like
On Apr 26, 2010, at 4:11 PM, Alexandre Bergel wrote:
> Hi Stef,
>> We fixed that with cyrille but now
>> and some other protocol changes
>> the are some expressions like
>> expr / #'decl'
>> should we turn them into
>> expr / 'decl'
> Yes, XMLParser changed recently. Strings have to be used instead of Symbols. For some reason, it is faster.
it is faster because you do not have to intern them and make them unique.
#symbol comparisons is faster than strings.
but symbol creation is way slower.
> But I run CAnalyzer tests before committing these changes in XMLParser.
Well not the right ones :)
Because lot of tests broken.