From a781aa7c1e1636b3e97c1d3c4fdb0aa1f65fbfe1 Mon Sep 17 00:00:00 2001 From: pixhawk Date: Sat, 30 Oct 2010 20:13:25 +0200 Subject: [PATCH] Updated commit style to be C89 compiliant --- src/comm/MAVLinkXMLParser.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/comm/MAVLinkXMLParser.cc b/src/comm/MAVLinkXMLParser.cc index bae01d56c..3d7068a26 100644 --- a/src/comm/MAVLinkXMLParser.cc +++ b/src/comm/MAVLinkXMLParser.cc @@ -255,7 +255,7 @@ bool MAVLinkXMLParser::generate() QString fieldComment; if (e2.text().length() > 0) { - fieldComment = " // " + e2.text(); + fieldComment = " /* " + e2.text() + "*/"; } currEnum += "\t" + fieldName.toUpper() + "=" + fieldValue + "," + fieldComment + "\n"; } @@ -271,7 +271,7 @@ bool MAVLinkXMLParser::generate() int commaPosition = currEnum.lastIndexOf(","); currEnum.remove(commaPosition, 1); - enums += "/** " + comment + " */\n" + currEnum + currEnumEnd; + enums += "/** @brief " + comment + " */\n" + currEnum + currEnumEnd; } // Element is non-zero and element name is n = n.nextSibling(); } // While through -- 2.22.0