From a2a6fee281a5cf273c06135ef224bc6bb72f36ee Mon Sep 17 00:00:00 2001 From: Olivier Boudeville Date: Wed, 12 Feb 2025 14:25:03 +0100 Subject: [PATCH 1/2] Clarify default type of matched values in bit strings --- system/doc/reference_manual/expressions.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/system/doc/reference_manual/expressions.md b/system/doc/reference_manual/expressions.md index 5b600e581658..d3d7160d572d 100644 --- a/system/doc/reference_manual/expressions.md +++ b/system/doc/reference_manual/expressions.md @@ -1298,8 +1298,7 @@ Each element `Ei` specifies a _segment_ of the bit string. The segments are ordered left to right from the most significant bit to the least significant bit of the bit string. -Each segment specification `Ei` is a value, followed by an optional _size -expression_ and an optional _type specifier list_. +Each segment specification `Ei` is a value, whose default type is `integer`, followed by an optional _size expression_ and an optional _type specifier list_. ``` Ei = Value | From d96c7e5df0e98eeb5c733d037ef2d3eb46ace2d4 Mon Sep 17 00:00:00 2001 From: Olivier Boudeville Date: Wed, 12 Feb 2025 14:37:39 +0100 Subject: [PATCH 2/2] Respect hard word-wrap at column 80 --- system/doc/reference_manual/expressions.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/doc/reference_manual/expressions.md b/system/doc/reference_manual/expressions.md index d3d7160d572d..705b033d429d 100644 --- a/system/doc/reference_manual/expressions.md +++ b/system/doc/reference_manual/expressions.md @@ -1298,7 +1298,8 @@ Each element `Ei` specifies a _segment_ of the bit string. The segments are ordered left to right from the most significant bit to the least significant bit of the bit string. -Each segment specification `Ei` is a value, whose default type is `integer`, followed by an optional _size expression_ and an optional _type specifier list_. +Each segment specification `Ei` is a value, whose default type is `integer`, +followed by an optional _size expression_ and an optional _type specifier list_. ``` Ei = Value |