mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
fix PR3965:SIGINT handler not restored after calling ParseAST(),
patch by Alexei Svitkine! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68929 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b215776fa1
commit
b7253150ab
@ -126,7 +126,8 @@ static RETSIGTYPE SignalHandler(int Sig) {
|
||||
IF(); // run the interrupt function.
|
||||
return;
|
||||
}
|
||||
exit(1); // If this is an interrupt signal, exit the program
|
||||
raise(Sig); // Execute the default handler.
|
||||
return;
|
||||
}
|
||||
|
||||
// Otherwise if it is a fault (like SEGV) run any handler.
|
||||
|
Loading…
Reference in New Issue
Block a user