On Sunday, 26 April 2015 at 05:56:46 UTC, ketmar wrote:
On Sat, 25 Apr 2015 23:25:13 +0000, Cassio Butrico wrote:

Hello everyone , first congratulations for the wonderful forum , I wish someone could help me , I am writing a small basic interpreter in D and
I am with some difficulties.

estoutentando manupular the setjmp / longjmp buffers , but the error , I use windows 7 and the dmd 2067 , will be whose manipulate the buffers
save and return ? Excuse my english sucks.

you shouldn't use setjmp/longjmp in D. use exceptions instead. something
like this:

instead of setjmp:
try {
  doit
} catch (MyException e) {
  process e
}

and instead of longjmp:
throw new MyException();


Thank you for answering me ketmar
I will try this

Reply via email to