diff options
author | Brian Drummond | 2013-12-02 17:18:57 +0000 |
---|---|---|
committer | Brian Drummond | 2013-12-02 17:18:57 +0000 |
commit | 1b8811469be10b058724a83f9dad8702de47d582 (patch) | |
tree | 9f1194d48290dff473bbb83306d2d68b4c20f446 /parse.adb | |
parent | 860a1de17cf5efab4c6db48fb28e6038d1584b81 (diff) | |
download | ghdl-1b8811469be10b058724a83f9dad8702de47d582.tar.gz ghdl-1b8811469be10b058724a83f9dad8702de47d582.tar.bz2 ghdl-1b8811469be10b058724a83f9dad8702de47d582.zip |
Minor fix for https://gna.org/support/?group=ghdl issues 3060 and 2686
Diffstat (limited to 'parse.adb')
-rw-r--r-- | parse.adb | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3984,8 +3984,12 @@ package body Parse is when Iir_Kind_Simple_Name | Iir_Kind_Selected_Name => Set_Implementation (Call, Name); + when Iir_Kind_Attribute_Name => -- Support issue 3060 + Error_Msg_Parse ("Attribute cannot be applied to procedure call"); when others => - raise Internal_Error; + -- Support issue 2686 : no testcase, at least improve the error message + Error_Kind("parenthesis_name_to_procedure_call", Name); + -- raise Internal_Error; end case; return Res; end Parenthesis_Name_To_Procedure_Call; |