diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-01-16 06:13:50 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-01-16 06:13:50 +0100 |
commit | 1c0b63df5eafabc931d29c477b75bc28be9a854f (patch) | |
tree | af1113531d211e1115d24392bfdcd494dd8346f6 | |
parent | 807ee04eb8f01034109fba4e37b955521db27099 (diff) | |
download | ghdl-1c0b63df5eafabc931d29c477b75bc28be9a854f.tar.gz ghdl-1c0b63df5eafabc931d29c477b75bc28be9a854f.tar.bz2 ghdl-1c0b63df5eafabc931d29c477b75bc28be9a854f.zip |
synth-decls: add comments.
-rw-r--r-- | src/synth/synth-decls.adb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/synth-decls.adb b/src/synth/synth-decls.adb index 2eb9897d7..2e6426ed5 100644 --- a/src/synth/synth-decls.adb +++ b/src/synth/synth-decls.adb @@ -457,10 +457,13 @@ package body Synth.Decls is end if; -- Initialize the value (except for a deferred declaration). if Deferred_Decl = Null_Node then + -- A normal constant declaration First_Decl := Decl; elsif not Get_Deferred_Declaration_Flag (Decl) then + -- The full declaration of a deferred constant. First_Decl := Deferred_Decl; else + -- The first declaration of a deferred constant. First_Decl := Null_Node; end if; if First_Decl /= Null_Node then |