From 9801a910f41ce2cfe95ff12b220799350a0097e7 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 27 Dec 2022 08:53:26 +0100 Subject: synth: handle string literals in debug --- src/synth/synth-vhdl_expr.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/synth/synth-vhdl_expr.adb b/src/synth/synth-vhdl_expr.adb index 6e397aa1a..c33ea4b08 100644 --- a/src/synth/synth-vhdl_expr.adb +++ b/src/synth/synth-vhdl_expr.adb @@ -2493,7 +2493,8 @@ package body Synth.Vhdl_Expr is | Iir_Kind_Low_Array_Attribute | Iir_Kind_Indexed_Name | Iir_Kind_Selected_Element - | Iir_Kind_Integer_Literal => + | Iir_Kind_Integer_Literal + | Iir_Kind_String_Literal8 => -- For array attributes: the type is the type of the index, which -- is not synthesized as a type (only as an index). -- -- cgit v1.2.3