Skip to content

Commit

Permalink
fix byte[] in message cargo javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoglom committed Dec 27, 2024
1 parent d3be3fb commit f1cccf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/javadoc_messagecargo.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ def bytes_for_argument(arg_str, start_offset):
if inside:
elems = [x.strip() for x in inside.group(1).split(',') if x.strip()]
lines = []
for i, _ in enumerate(elems):
desc = f"new byte[]{{...}} [element {i}]"
for i, v in enumerate(elems):
desc = f"new byte[]{{{v}}} [element {i}]"
lines.append((start_offset + i, desc))
return lines
return []
Expand Down

0 comments on commit f1cccf1

Please sign in to comment.