Hi Arnaud,

On 14/10/13 15:29, Arnaud Charlet wrote:
It is now possible to import C++ exceptions and to handle it.
...
Index: exp_prag.adb
===================================================================
--- exp_prag.adb        (revision 203544)
+++ exp_prag.adb        (working copy)
@@ -575,6 +575,64 @@
          if No (Init_Call) and then Present (Expression (Parent (Def_Id))) then
             Set_Expression (Parent (Def_Id), Empty);
          end if;
+      elsif Ekind (Def_Id) = E_Exception
+        and then Convention (Def_Id) = Convention_CPP
+      then
+
+         --  Import a C++ convention

should this comment say "Import a C++ exception"?

Ciao, Duncan.

Reply via email to