version 1.12, 2003/02/14 22:29:18 |
version 1.14, 2003/03/07 06:39:59 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/parse/debug.c,v 1.11 2001/12/25 02:39:06 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/debug.c,v 1.13 2003/03/07 03:12:31 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 234 void debug(SNODE f) |
|
Line 234 void debug(SNODE f) |
|
sprintf(prompt,"(debug) "); |
sprintf(prompt,"(debug) "); |
SETJMP(debug_env); |
SETJMP(debug_env); |
while ( 1 ) { |
while ( 1 ) { |
#if defined(FEP) |
#if FEP |
if ( !do_fep ) |
if ( !do_fep ) |
#endif |
#endif |
if ( !do_server_in_X11 ) |
if ( !do_server_in_X11 ) |
fputs(prompt,stderr); |
fputs(prompt,stderr); |
bzero(buf,BUFSIZ); |
bzero(buf,BUFSIZ); |
while ( 1 ) { |
while ( 1 ) { |
#if defined(FEP) |
#if FEP |
if ( do_fep ) { |
if ( do_fep ) { |
line = (char *)readline_console(prompt); |
line = (char *)readline_console(prompt); |
strcpy(buf,line); free(line); |
strcpy(buf,line); free(line); |