diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-11-27 08:21:36 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-11-27 12:30:40 +0100 |
commit | 55e669e57725017cb356907abcfe7a4953563296 (patch) | |
tree | 0ca13c7f01014cb4aed75c3921057d7616018447 /src/vhdl/vhdl-prints.adb | |
parent | d2a0fe9e9c097a5130a6d6a6f2c8c76bf4394ae0 (diff) | |
download | ghdl-55e669e57725017cb356907abcfe7a4953563296.tar.gz ghdl-55e669e57725017cb356907abcfe7a4953563296.tar.bz2 ghdl-55e669e57725017cb356907abcfe7a4953563296.zip |
vhdl: rework comment gathering to handle empty lines.
Diffstat (limited to 'src/vhdl/vhdl-prints.adb')
-rw-r--r-- | src/vhdl/vhdl-prints.adb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-prints.adb b/src/vhdl/vhdl-prints.adb index 13115cc22..c77bef029 100644 --- a/src/vhdl/vhdl-prints.adb +++ b/src/vhdl/vhdl-prints.adb @@ -1615,6 +1615,8 @@ package body Vhdl.Prints is is Next_Decl : Iir; begin + Start_Node (Ctxt, Decl); + Start_Hbox (Ctxt); case Get_Kind (Decl) is when Iir_Kind_Variable_Declaration => |