aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-12-18 18:33:12 +0100
committerTristan Gingold <tgingold@free.fr>2016-12-18 18:33:12 +0100
commitf54bfbcebc7a7f9fbb9a413c2f2210051d0485cc (patch)
tree817cd92172549e4aabcb3dcb31eab167a30b3076 /src/ortho
parent2d3765bc9176f59f88b5369c3a508f84e25f4b5f (diff)
downloadghdl-f54bfbcebc7a7f9fbb9a413c2f2210051d0485cc.tar.gz
ghdl-f54bfbcebc7a7f9fbb9a413c2f2210051d0485cc.tar.bz2
ghdl-f54bfbcebc7a7f9fbb9a413c2f2210051d0485cc.zip
ortho_debug: suppress one more check with Disable_Checks.
Diffstat (limited to 'src/ortho')
-rw-r--r--src/ortho/debug/ortho_debug.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ortho/debug/ortho_debug.adb b/src/ortho/debug/ortho_debug.adb
index 6e9b2b89d..3645b89e8 100644
--- a/src/ortho/debug/ortho_debug.adb
+++ b/src/ortho/debug/ortho_debug.adb
@@ -222,6 +222,9 @@ package body Ortho_Debug is
is
Res : Boolean;
begin
+ if Disable_Checks then
+ return;
+ end if;
case Decl.Kind is
when ON_Interface_Decl =>
Res := Decl.Func_Scope.Alive;