From 8e2607f976f8d4ee147d77efebc7ee38aa7a349d Mon Sep 17 00:00:00 2001 From: James Woglom Date: Mon, 30 Dec 2024 19:26:38 -0500 Subject: [PATCH] fix undefined --- scripts/javadoc_messagecargo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/javadoc_messagecargo.py b/scripts/javadoc_messagecargo.py index 0bf65a2..dd6622e 100644 --- a/scripts/javadoc_messagecargo.py +++ b/scripts/javadoc_messagecargo.py @@ -138,6 +138,7 @@ def bytes_for_argument(arg_str, start_offset): elems = [x.strip() for x in inside.group(1).split(',') if x.strip()] lines = [] if len(elems) == 1: + v = elems[0] if v.strip().startswith("(byte)"): lines.append((start_offset, v)) else: