aboutsummaryrefslogtreecommitdiffstats
path: root/canon.adb
diff options
context:
space:
mode:
authorBrian Drummond <brian@shapes.demon.co.uk>2013-12-02 17:47:55 +0000
committerBrian Drummond <brian@shapes.demon.co.uk>2013-12-02 17:47:55 +0000
commit242ee7a30d0ac1d5d5b7e59d5206f1cef30d1435 (patch)
tree84d0be0112a16e52095d40464112eac7910ee42f /canon.adb
parent17dd49c8643f08dff78900e9a9db56a0ade75c55 (diff)
downloadghdl-242ee7a30d0ac1d5d5b7e59d5206f1cef30d1435.tar.gz
ghdl-242ee7a30d0ac1d5d5b7e59d5206f1cef30d1435.tar.bz2
ghdl-242ee7a30d0ac1d5d5b7e59d5206f1cef30d1435.zip
Comment out some unreachable code that stopped the mcode build
Diffstat (limited to 'canon.adb')
-rw-r--r--canon.adb20
1 files changed, 10 insertions, 10 deletions
diff --git a/canon.adb b/canon.adb
index 6da603945..317261b8b 100644
--- a/canon.adb
+++ b/canon.adb
@@ -2429,16 +2429,16 @@ package body Canon is
-- This code is not executed since context clauses are already
-- canonicalized.
El := Get_Context_Items (Unit);
- while El /= Null_Iir loop
- case Get_Kind (El) is
- when Iir_Kind_Use_Clause =>
- null;
- when Iir_Kind_Library_Clause =>
- null;
- when others =>
- Error_Kind ("canonicalize1", El);
- end case;
- end loop;
+-- while El /= Null_Iir loop
+-- case Get_Kind (El) is
+-- when Iir_Kind_Use_Clause =>
+-- null;
+-- when Iir_Kind_Library_Clause =>
+-- null;
+-- when others =>
+-- Error_Kind ("canonicalize1", El);
+-- end case;
+-- end loop;
end if;
El := Get_Library_Unit (Unit);