From 412f5b63dc798e0923342cbfc29d186b21bbe43c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 1 Oct 2021 19:00:38 +0200 Subject: vhdl-formatters: fix bad reformatting on a simple range. --- src/vhdl/vhdl-formatters.adb | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3