diff options
author | Xiretza <xiretza@xiretza.xyz> | 2021-07-29 20:48:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-29 20:48:05 +0200 |
commit | ffeafae39d6097b0c1d0a4d63f48afa9654938a1 (patch) | |
tree | c63c1f66e20a90903be905fcc7e6c16d47dd1bd1 | |
parent | 06e02ea0b1e4662b707fdfd07eabc13f1e4ae84d (diff) | |
download | ghdl-ffeafae39d6097b0c1d0a4d63f48afa9654938a1.tar.gz ghdl-ffeafae39d6097b0c1d0a4d63f48afa9654938a1.tar.bz2 ghdl-ffeafae39d6097b0c1d0a4d63f48afa9654938a1.zip |
libghw: add missing semicolon to physical type formatting (#1825)
-rw-r--r-- | ghw/libghw.c | 2 | ||||
-rw-r--r-- | testsuite/gna/issue418/golden_tc749.txt | 2 |
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; |