diff options
Diffstat (limited to 'src/vhdl/vhdl-parse.adb')
-rw-r--r-- | src/vhdl/vhdl-parse.adb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-parse.adb b/src/vhdl/vhdl-parse.adb index 6801f00fc..a6e24922d 100644 --- a/src/vhdl/vhdl-parse.adb +++ b/src/vhdl/vhdl-parse.adb @@ -9433,6 +9433,7 @@ package body Vhdl.Parse is Error_Msg_Parse ("attribute declaration not allowed here"); end if; + Set_Parent (El, Parent); Chain_Append (First, Last, El); end if; when Tok_Group => @@ -9442,6 +9443,7 @@ package body Vhdl.Parse is Error_Msg_Parse ("group template declaration not allowed here"); end if; + Set_Parent (El, Parent); Chain_Append (First, Last, El); end if; when others => |