aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-comments.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-11-23 07:55:07 +0100
committerTristan Gingold <tgingold@free.fr>2022-11-23 07:55:07 +0100
commit81295dc08948e0cf103b4597580ed95a9cc25813 (patch)
treec78d18a8b447390bbb0b21a4c46c025b31a4f453 /src/vhdl/vhdl-comments.ads
parent93a88845da27290669c0dee990b7bb7232d58139 (diff)
downloadghdl-81295dc08948e0cf103b4597580ed95a9cc25813.tar.gz
ghdl-81295dc08948e0cf103b4597580ed95a9cc25813.tar.bz2
ghdl-81295dc08948e0cf103b4597580ed95a9cc25813.zip
file_comments: add comments_range to support deferred gathering
For processes.
Diffstat (limited to 'src/vhdl/vhdl-comments.ads')
-rw-r--r--src/vhdl/vhdl-comments.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-comments.ads b/src/vhdl/vhdl-comments.ads
index 1d9694a49..82d469284 100644
--- a/src/vhdl/vhdl-comments.ads
+++ b/src/vhdl/vhdl-comments.ads
@@ -26,6 +26,10 @@ with File_Comments; use File_Comments;
with Vhdl.Nodes; use Vhdl.Nodes;
package Vhdl.Comments is
+ -- Save comments and attached them to a node.
+ procedure Save_Comments (Rng : out Comments_Range_Type);
+ procedure Gather_Comments (Rng : Comments_Range_Type; N : Iir);
+
-- Attach previously scanned comments to node N.
procedure Gather_Comments (N : Iir);