nasa/fprime

Module Annotations do not Display as Doxy Comment in Generated .cpp Files

Opened this issue · 0 comments

FPP Version 2.0.2
Affected Component all

Problem Description

Modules are not annotable as claimed in the FPP User's Guide.

How to Reproduce

  1. Create a file.fpp with the following contents:
@ This is a module
module M {
  constant a = 1
}
  1. Run the command fpp-to-cpp file.fpp
  2. Inspect the generated file to spot the missing doxy comment.

Expected Behavior

The output of the generated file should be:

#! This is a module
namespace M {

  enum FppConstant_a {
    a = 1
  };

}