aboutsummaryrefslogtreecommitdiffstats
path: root/types.ads
diff options
context:
space:
mode:
authorgingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2008-04-09 04:01:16 +0000
committergingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2008-04-09 04:01:16 +0000
commitf63038518ec0b89eb6170e372a2ad5d0a24d30d3 (patch)
treec2155355116acf3f90a2ff0079423cba36b6050d /types.ads
parenteb4d862a6b8ac3991dac9a8bc2fb0b9d9830e951 (diff)
downloadghdl-f63038518ec0b89eb6170e372a2ad5d0a24d30d3.tar.gz
ghdl-f63038518ec0b89eb6170e372a2ad5d0a24d30d3.tar.bz2
ghdl-f63038518ec0b89eb6170e372a2ad5d0a24d30d3.zip
Improve macosX support.
Fix crashes in error handling.
Diffstat (limited to 'types.ads')
-rw-r--r--types.ads5
1 files changed, 5 insertions, 0 deletions
diff --git a/types.ads b/types.ads
index 9cfce90d6..191d30e9e 100644
--- a/types.ads
+++ b/types.ads
@@ -121,4 +121,9 @@ package Types is
-- Self-explaining: raised when an internal error (such as consistency)
-- is detected.
Internal_Error: exception;
+
+ -- In some case, a low level subprogram can't handle error
+ -- (e.g eval_pos). In this case it is easier to raise an exception and
+ -- let upper level subprograms handle the case.
+ Node_Error : exception;
end Types;