aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-10-01 19:00:38 +0200
committerTristan Gingold <tgingold@free.fr>2021-10-01 19:00:38 +0200
commit412f5b63dc798e0923342cbfc29d186b21bbe43c (patch)
tree1a9c85f00a71709808ee8ca2a7f1682ad9594cb2 /src/vhdl
parentb354560f68b56701874d16a9d1c5ee69394a59ac (diff)
downloadghdl-412f5b63dc798e0923342cbfc29d186b21bbe43c.tar.gz
ghdl-412f5b63dc798e0923342cbfc29d186b21bbe43c.tar.bz2
ghdl-412f5b63dc798e0923342cbfc29d186b21bbe43c.zip
vhdl-formatters: fix bad reformatting on a simple range.
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/vhdl-formatters.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-formatters.adb b/src/vhdl/vhdl-formatters.adb
index 9e870ddc2..b40615f99 100644
--- a/src/vhdl/vhdl-formatters.adb
+++ b/src/vhdl/vhdl-formatters.adb
@@ -592,6 +592,7 @@ package body Vhdl.Formatters is
Vpos := (others => 0);
Vdone := (others => False);
Diff_Col := 0;
+ Prev_Col := 0;
-- First pass: compute the positions
loop