diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-12-27 08:53:26 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-12-31 13:54:49 +0100 |
commit | 9801a910f41ce2cfe95ff12b220799350a0097e7 (patch) | |
tree | ff06caeeaa91f485dbe62497e0df88b8bd0e63be /src/synth/synth-vhdl_expr.adb | |
parent | b7a9e4b9b5ac2c195da6f3549dd06b5c6e999a0f (diff) | |
download | ghdl-9801a910f41ce2cfe95ff12b220799350a0097e7.tar.gz ghdl-9801a910f41ce2cfe95ff12b220799350a0097e7.tar.bz2 ghdl-9801a910f41ce2cfe95ff12b220799350a0097e7.zip |
synth: handle string literals in debug
Diffstat (limited to 'src/synth/synth-vhdl_expr.adb')
-rw-r--r-- | src/synth/synth-vhdl_expr.adb | 3 |
1 files changed, 2 insertions, 1 deletions
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). -- |