summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold2015-05-12 20:31:50 +0200
committerTristan Gingold2015-05-12 20:31:50 +0200
commit53c382d2d8a0661077ff4bf3147afc373e93e898 (patch)
tree5aa988179c5bab9a7b48300a1b80bac4d87f4689 /src
parent21e4db5b3fdad4a45ede8fbcae96e928101892ee (diff)
downloadghdl-53c382d2d8a0661077ff4bf3147afc373e93e898.tar.gz
ghdl-53c382d2d8a0661077ff4bf3147afc373e93e898.tar.bz2
ghdl-53c382d2d8a0661077ff4bf3147afc373e93e898.zip
Fix translation for context declaration for gcc/llvm.
Fix ticket 58.
Diffstat (limited to 'src')
-rw-r--r--src/vhdl/translate/translation.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/translate/translation.adb b/src/vhdl/translate/translation.adb
index 4ef0bcb..4e41636 100644
--- a/src/vhdl/translate/translation.adb
+++ b/src/vhdl/translate/translation.adb
@@ -325,6 +325,9 @@ package body Translation is
else
Chap1.Translate_Configuration_Declaration (El);
end if;
+ when Iir_Kind_Context_Declaration =>
+ New_Debug_Comment_Decl ("context " & Image_Identifier (El));
+ null;
when others =>
Error_Kind ("translate", El);
end case;