diff options
author | Ole Troan <ot@cisco.com> | 2021-05-05 23:00:58 +0200 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2023-01-18 01:32:24 +0000 |
commit | 5d2346801b27b4732fc4c2a8f0895f214183d8b6 (patch) | |
tree | 814a8487983d2628752d1bd0f1ca3e49ace4e45f /src/tools/vppapigen/vppapigen_json.py | |
parent | f4fe0168a6eeef4435835b8bebe52bf03f5a7dbd (diff) |
vppapigen: include comments in json
Type: feature
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Ibd796adea734b64d9209c5e18c5b9800cbaf62c6
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src/tools/vppapigen/vppapigen_json.py')
-rw-r--r-- | src/tools/vppapigen/vppapigen_json.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/vppapigen/vppapigen_json.py b/src/tools/vppapigen/vppapigen_json.py index 91334468503..ba32e284d81 100644 --- a/src/tools/vppapigen/vppapigen_json.py +++ b/src/tools/vppapigen/vppapigen_json.py @@ -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) |