From 8402dba5e86817c7287806c6bda06c1baeaeeb6d Mon Sep 17 00:00:00 2001 From: Daniel Thaler Date: Sun, 17 Mar 2024 22:36:49 +0100 Subject: [PATCH] Fix the specification of STRUCTURE_COMPONENT The value is not a size, but an address_offset. --- src/specification.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/specification.rs b/src/specification.rs index 077562d..084a736 100644 --- a/src/specification.rs +++ b/src/specification.rs @@ -1247,7 +1247,7 @@ a2l_specification! { block STRUCTURE_COMPONENT { ident component_name ident component_type - ulong size + ulong address_offset [-> ADDRESS_TYPE] (1.71 ..) [-> LAYOUT] [-> MATRIX_DIM]