VM Maker: VMMaker.oscog-eem.2769.mcz

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

VM Maker: VMMaker.oscog-eem.2769.mcz

Eliot Miranda uploaded a new version of VMMaker to project VM Maker:

==================== Summary ====================

Name: VMMaker.oscog-eem.2769
Author: eem
Time: 2 July 2020, 4:00:41.031314 pm
UUID: 8584994c-74f4-4d95-a8e2-39f0121be986
Ancestors: VMMaker.oscog-eem.2768

Slang: And include the Monticello description for the Cogit's activeCompilerClass if it differs from Cogit's.

=============== Diff against VMMaker.oscog-eem.2768 ===============

Item was added:
+ ----- Method: Cogit class>>monticelloDescription (in category 'translation') -----
+ monticelloDescription
+ "Answer the Monticello version of the packlage containing the receiver.
+ Override to include the package of the activeCompilerClass if it differs."
+ | description accDescription |
+ description := CCodeGenerator monticelloDescriptionFor: self.
+ accDescription := CCodeGenerator monticelloDescriptionFor: self activeCompilerClass.
+ ^(description allButFirst: (description indexOf: Character space))
+ = (accDescription allButFirst: (accDescription indexOf: Character space))
+ ifTrue: [description]
+ ifFalse: [description, String cr, accDescription]!