Skip to content

Commit

Permalink
libghw: add missing semicolon to physical type formatting (#1825)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiretza committed Jul 29, 2021
1 parent 06e02ea commit ffeafae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ghw/libghw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
{
Expand Down
2 changes: 1 addition & 1 deletion testsuite/gna/issue418/golden_tc749.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ffeafae

Please sign in to comment.