fprime icon indicating copy to clipboard operation
fprime copied to clipboard

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

Open alextsagkas opened this issue 10 months ago • 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
  };

}

alextsagkas avatar Apr 04 '24 16:04 alextsagkas