Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vppapigen: fix incorrect comments in json
[vpp.git]
/
src
/
tools
/
vppapigen
/
vppapigen_json.py
diff --git
a/src/tools/vppapigen/vppapigen_json.py
b/src/tools/vppapigen/vppapigen_json.py
index
9133446
..
0a1a3d3
100644
(file)
--- a/
src/tools/vppapigen/vppapigen_json.py
+++ b/
src/tools/vppapigen/vppapigen_json.py
@@
-77,6
+77,8
@@
def walk_defs(s, is_message=False):
c = {}
c["crc"] = "{0:#0{1}x}".format(t.crc, 10)
c["options"] = t.options
+ if t.comment:
+ c["comment"] = t.comment
d.append(c)
r.append(d)