vppapigen: include comments in json
[vpp.git] / src / tools / vppapigen / vppapigen_json.py
index 9133446..ba32e28 100644 (file)
@@ -77,6 +77,7 @@ def walk_defs(s, is_message=False):
             c = {}
             c["crc"] = "{0:#0{1}x}".format(t.crc, 10)
             c["options"] = t.options
+            c["comment"] = t.comment
             d.append(c)
 
         r.append(d)