[great-users] code generator misses to insert class when using global objects

Tim Belschner tim.belschner at ils.uni-stuttgart.de
Tue Feb 10 06:16:15 CST 2015


Helloy everybody,

 

I am facing a problem with the code generator when using two global objects
in a transformation.

As you can see in this small example
<http://www.ils.uni-stuttgart.de/GReAT_global_object.rar>
http://www.ils.uni-stuttgart.de/GReAT_global_object.rar there are two rules
for storing a pattern in a global object, "store_globalObject2" and
"store_globalObject3". When generating the code, the generator misses to
insert the  class "currModel2_29" into the block:

 

currMatch.model1_2f= currModel1_26;

if( !isValidBound(boundObjs_2d, , false))

continue;

 

within the "patternMatcher" function of the rule "store_globalObject2".

This occurs only when using more than one global object in a transformation.
The generator works fine when deleting the rule "store_globalObject3".

 

It would be nice, if someone could have a look at it.

 

Thanks and Best Regards

Tim

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/great-users/attachments/20150210/20730ec7/attachment.html 


More information about the great-users mailing list