billvaglienti / ProtoGen

Communications protocol generation software
MIT License
30 stars 16 forks source link

Multiple Line Comments are broken #104

Open bigowlrrww opened 1 year ago

bigowlrrww commented 1 year ago

I noticed that the latest commit in master has broken multiple line comments. <Data name="test" inMemoryType="unsigned8" encodedType="unsigned8" comment="this is a multiple line comment"/> This seems to result in the generated code containing the definition along with the comment looking like uint8_t test; //!< this is a multiple line comment Which fails to compile due to the lack of comment on the second line

Commit in master: https://github.com/billvaglienti/ProtoGen/commit/a30fc3d6943046dcd77a8e746a73bac048e3c071