The logic to generate the field descriptions for variables in S_sie.resource ignores any comments that don't end in */.
For example, var1 below parses the field description correctly but var2 would show up at Not Specified when using the trick-sie tool.
double var1; /* (m) Test Variable 1 */
double var2; // (m) Test Variable 2
I traced it back to the following line as the culprit and was able to get the field descriptions for the variable in question if I commented it out, but then it does not strip the */ form the end of the comment. (https://github.com/nasa/trick/blob/master/trick_source/codegen/Interface_Code_Gen/FieldDescription.cpp#L295)
The logic to generate the field descriptions for variables in
S_sie.resourceignores any comments that don't end in*/.For example,
var1below parses the field description correctly but var2 would show up at Not Specified when using thetrick-sietool.I traced it back to the following line as the culprit and was able to get the field descriptions for the variable in question if I commented it out, but then it does not strip the
*/form the end of the comment. (https://github.com/nasa/trick/blob/master/trick_source/codegen/Interface_Code_Gen/FieldDescription.cpp#L295)