version 1.21, 2006/02/01 07:29:29 |
version 1.22, 2006/09/26 05:35:25 |
|
|
* 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/builtin/print.c,v 1.20 2005/12/10 14:14:15 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/builtin/print.c,v 1.21 2006/02/01 07:29:29 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 67 struct ftab print_tab[] = { |
|
Line 67 struct ftab print_tab[] = { |
|
|
|
extern int I_am_server; |
extern int I_am_server; |
|
|
|
int wfep_mode; |
|
|
void Pprint(NODE arg,pointer *rp) |
void Pprint(NODE arg,pointer *rp) |
{ |
{ |
Obj obj; |
Obj obj; |
|
STRING nl; |
Q opt; |
Q opt; |
|
|
|
/* engine for wfep */ |
|
if ( wfep_mode ) { |
|
if ( arg ) { |
|
print_to_wfep((Obj)ARG0(arg)); |
|
if ( !NEXT(arg) || ARG1(arg) ) { |
|
MKSTR(nl,"\r\n"); |
|
print_to_wfep((Obj)nl); |
|
} |
|
} |
|
*rp = 0; |
|
return; |
|
} |
if ( arg ) { |
if ( arg ) { |
obj = (Obj)ARG0(arg); |
obj = (Obj)ARG0(arg); |
if ( NEXT(arg) ) { |
if ( NEXT(arg) ) { |