diff options
| author | Tristan Gingold <tgingold@free.fr> | 2018-12-19 07:35:19 +0100 |
|---|---|---|
| committer | Tristan Gingold <tgingold@free.fr> | 2018-12-19 07:35:19 +0100 |
| commit | 7346d1a7fcf241c9eb797bd896f44d08a341f6a1 (patch) | |
| tree | 3397ea0323a9120668b0bd5ab79d5e69d75b6892 /src | |
| parent | 60ce726c4137ccecf4ec91a52d900121b220e531 (diff) | |
| download | ghdl-7346d1a7fcf241c9eb797bd896f44d08a341f6a1.tar.gz ghdl-7346d1a7fcf241c9eb797bd896f44d08a341f6a1.tar.bz2 ghdl-7346d1a7fcf241c9eb797bd896f44d08a341f6a1.zip | |
sem_scopes: add assertion.
Diffstat (limited to 'src')
| -rw-r--r-- | src/vhdl/sem_scopes.adb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/sem_scopes.adb b/src/vhdl/sem_scopes.adb index 617f7bedc..16be2a29d 100644 --- a/src/vhdl/sem_scopes.adb +++ b/src/vhdl/sem_scopes.adb @@ -454,6 +454,8 @@ package body Sem_Scopes is Last_In_Region := Ident; end Add_New_Interpretation; begin + pragma Assert (Ident /= Null_Identifier); + if not Valid_Interpretation (Raw_Inter) then -- Very simple: no hidding, no overloading. Add_New_Interpretation (True); |
