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

Diff for /OpenXM_contrib2/asir2000/builtin/dp.c between version 1.53 and 1.54

version 1.53, 2004/05/14 09:20:56 version 1.54, 2004/05/31 00:38:44
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/dp.c,v 1.52 2004/05/14 06:02:54 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/builtin/dp.c,v 1.53 2004/05/14 09:20:56 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "base.h"  #include "base.h"
Line 471  DP *rp;
Line 471  DP *rp;
                 if ( current_option ) {                  if ( current_option ) {
                         f.id = O_LIST; f.body = mknode(1,p);                          f.id = O_LIST; f.body = mknode(1,p);
                         parse_gr_option(&f,current_option,&v,&homo,&modular,&ord);                          parse_gr_option(&f,current_option,&v,&homo,&modular,&ord);
                         dp_current_spec = ord;                          initd(ord);
                 } else                  } else
                         error("dp_ptod : invalid argument");                          error("dp_ptod : invalid argument");
         } else {          } else {
Line 510  DPV *rp;
Line 510  DPV *rp;
         if ( ac == 1 ) {          if ( ac == 1 ) {
                 if ( current_option ) {                  if ( current_option ) {
                         parse_gr_option(f,current_option,&v,&homo,&modular,&ord);                          parse_gr_option(f,current_option,&v,&homo,&modular,&ord);
                         dp_current_spec = ord;                          initd(ord);
                 } else                  } else
                         error("dp_ltod : invalid argument");                          error("dp_ltod : invalid argument");
         } else {          } else {
Line 1176  Obj *rp;
Line 1176  Obj *rp;
                 n = mknode(1,f); MKLIST(l,n); f = l;                  n = mknode(1,f); MKLIST(l,n); f = l;
                 is_list = 0;                  is_list = 0;
         }          }
         if ( current_option )          if ( current_option ) {
                 parse_gr_option(f,current_option,&v,&homo,&modular,&ord);                  parse_gr_option(f,current_option,&v,&homo,&modular,&ord);
         else                  initd(ord);
           } else
                 ord = dp_current_spec;                  ord = dp_current_spec;
         initiallist = dp_initial_term(f,ord);          initiallist = dp_initial_term(f,ord);
         if ( !is_list )          if ( !is_list )
Line 1204  Obj *rp;
Line 1205  Obj *rp;
                 n = mknode(1,f); MKLIST(l,n); f = l;                  n = mknode(1,f); MKLIST(l,n); f = l;
                 is_list = 0;                  is_list = 0;
         }          }
         if ( current_option )          if ( current_option ) {
                 parse_gr_option(f,current_option,&v,&homo,&modular,&ord);                  parse_gr_option(f,current_option,&v,&homo,&modular,&ord);
         else                  initd(ord);
           } else
                 ord = dp_current_spec;                  ord = dp_current_spec;
         ordlist = dp_order(f,ord);          ordlist = dp_order(f,ord);
         if ( !is_list )          if ( !is_list )

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

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