aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ghw/libghw.c2
-rw-r--r--testsuite/gna/issue418/golden_tc749.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ghw/libghw.c b/ghw/libghw.c
index 7b01db680..116f1df1a 100644
--- a/ghw/libghw.c
+++ b/ghw/libghw.c
@@ -2180,7 +2180,7 @@ ghw_disp_type (struct ghw_handler *h, union ghw_type *t)
printf (" %s = " GHWPRI64 " %s;\n", u->name, u->val,
p->units[0].name);
}
- printf ("end units\n");
+ printf ("end units;\n");
} break;
case ghdl_rtik_type_array:
{
diff --git a/testsuite/gna/issue418/golden_tc749.txt b/testsuite/gna/issue418/golden_tc749.txt
index 1b3ea1eae..e455c219a 100644
--- a/testsuite/gna/issue418/golden_tc749.txt
+++ b/testsuite/gna/issue418/golden_tc749.txt
@@ -18,7 +18,7 @@ type time is range <> units
sec = 1000000000000000 fs;
min = 60000000000000000 fs;
hr = 3600000000000000000 fs;
-end units
+end units;
subtype time is time range -9223372036854775808 to 9223372036854775807;
type time_vector is array (natural range <>) of time;
type natural_vector is array (natural range <>) of natural;