aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-vhdl_expr.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-12-27 08:53:26 +0100
committerTristan Gingold <tgingold@free.fr>2022-12-31 13:54:49 +0100
commit9801a910f41ce2cfe95ff12b220799350a0097e7 (patch)
treeff06caeeaa91f485dbe62497e0df88b8bd0e63be /src/synth/synth-vhdl_expr.adb
parentb7a9e4b9b5ac2c195da6f3549dd06b5c6e999a0f (diff)
downloadghdl-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.adb3
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).
--