parsec
parsec copied to clipboard
jdf2c issue when dealing with certain case
When writing in PTG like this:
READ D <- desc_D(0, %{ return desc_f_data->super.rank_of(&desc_f_data->super, 0, n); %})
It shows:
#error Expression return desc_f_data->super.rank_of(&desc_f_data->super, 0, n); has not been generated
@therault suggested using a task local variable but I need to understand more.
This should be valid but for now we can't deal with this.
A workaround solution is to declare a local, initialize the local with the generated expression, and then use the local in the flow.