It compiles. It runs. Nothing works, but it also doesn't crash. Victory!
This commit is contained in:
parent
8d2acbeb0f
commit
aa0d60bbed
20 changed files with 390 additions and 244 deletions
|
|
@ -41,7 +41,7 @@
|
|||
*
|
||||
* @param dummy
|
||||
*/
|
||||
void int_handler( int dummy ) {
|
||||
void interrupt_handler( int dummy ) {
|
||||
wprintf( L"TODO: handle ctrl-C in a more interesting way\n" );
|
||||
}
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ void repl( struct pso_pointer frame_pointer ) {
|
|||
struct pso4 *frame = pointer_to_pso4( frame_pointer );
|
||||
bool show_prompt = c_truep( fetch_arg( frame, 0 ) );
|
||||
// todo: issue #21: must have stack frame passed in.
|
||||
signal( SIGINT, int_handler );
|
||||
signal( SIGINT, interrupt_handler );
|
||||
debug_print( L"Entered repl\n", DEBUG_REPL, 0 );
|
||||
|
||||
struct pso_pointer env = fetch_env( frame_pointer );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue