-
-
Notifications
You must be signed in to change notification settings - Fork 294
Open
Description
Ceedling => 1.0.2-72c0935
CMock => 2.6.0
Unity => 2.6.1
CException => 1.3.4
I encountered a bug with the following enumeration:
typedef enum
{
CO_ERROR_INVALID_STATE = -18, /**< Driver not ready */
CO_ERROR_NODE_ID_UNCONFIGURED_LSS = -19 /**< Node-id is in LSS unconfigured
state. If objects are handled properly,
this may not be an error. */
} CO_ReturnError_t;
After being mocked (or maybe preprocessed?) it turns into build/test/mocks/test_ModA/ModB.h:
typedef enum
{
CO_ERROR_INVALID_STATE = -18,
CO_ERROR_NODE_ID_UNCONFIGURED_LSS = -
} CO_ReturnError_t;
As you can see, the enum value gets removed along with the comment, leaving only CO_ERROR_NODE_ID_UNCONFIGURED_LSS = -
It looks like this issue is related to the format/content of the comment, since this is the only case in my project where the parser fails.
Metadata
Metadata
Assignees
Labels
No labels