diff options
author | Tristan Gingold | 2014-01-19 02:42:08 +0100 |
---|---|---|
committer | Tristan Gingold | 2014-01-19 02:42:08 +0100 |
commit | 533c3e35d66131ae93e3f521c5da85ecb24b64a4 (patch) | |
tree | 2884eebd330a775494f144aa4dff5b9774a7b1c6 | |
parent | e47227b318ac19fed2fb140614c70b30cb5329d7 (diff) | |
download | ghdl-533c3e35d66131ae93e3f521c5da85ecb24b64a4.tar.gz ghdl-533c3e35d66131ae93e3f521c5da85ecb24b64a4.tar.bz2 ghdl-533c3e35d66131ae93e3f521c5da85ecb24b64a4.zip |
Fix obscure crash (expanded name in a homograph of an enumeration literal).
-rw-r--r-- | iirs.adb | 1 | ||||
-rw-r--r-- | iirs.ads | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -6881,6 +6881,7 @@ package body Iirs is | Iir_Kind_Implicit_Function_Declaration | Iir_Kind_Implicit_Procedure_Declaration | Iir_Kind_Procedure_Declaration + | Iir_Kind_Enumeration_Literal | Iir_Kind_Sensitized_Process_Statement | Iir_Kind_Process_Statement | Iir_Kind_Block_Statement @@ -1467,6 +1467,10 @@ package Iirs is -- -- Get/Set_Visible_Flag (Flag4) -- + -- Never set to true, but possible when used as a prefix of an expanded + -- name in a overloaded subprogram. + -- Get/Set_Is_Within_Flag (Flag5) + -- -- Get/Set_Expr_Staticness (State1) -- -- Get/Set_Name_Staticness (State2) |