[BACK]Return to print.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / builtin

Diff for /OpenXM_contrib2/asir2000/builtin/print.c between version 1.21 and 1.22

version 1.21, 2006/02/01 07:29:29 version 1.22, 2006/09/26 05:35:25
Line 45 
Line 45 
  * 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) ) {

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>