Skip to content

S_sie.resource Field Descriptions #1981

@genti337

Description

@genti337

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions