From 4d8e4cfc894873287f506508291970fd4c68aed4 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 2 Jul 2011 20:11:31 +0000 Subject: [PATCH] main.c, ngnutmeg command processing loop --- src/main.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 790ccad23..1e54340e5 100644 --- a/src/main.c +++ b/src/main.c @@ -1320,9 +1320,12 @@ evl: evl: /* Nutmeg "main" */ - (void) SETJMP(jbuf, 1); - cp_interactive = TRUE; - app_rl_readlines(); /* enter the command processing loop */ + for(;;) + if(!SETJMP(jbuf, 1)) { + /* enter the command processing loop */ + cp_interactive = TRUE; + app_rl_readlines(); + } #endif /* ~ SIMULATOR */