This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Representing EH in GENERIC


On Wed, Nov 27, 2002 at 08:04:41PM +0000, Andrew Haley wrote:
> A related question : how would you represent try...catch...finally ?

	try {
	  try {
	    blowUp();
	  } catch (BlewIt b) {
	    System.out.println("BlewIt");
	  }
	} finally {
	  System.out.println("Always output"); 
	}

with TRY_CATCH_EXPR and TRY_FINALLY_EXPR.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]