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

Diff for /OpenXM_contrib2/asir2000/builtin/subst.c between version 1.6 and 1.7

version 1.6, 2003/11/27 08:28:40 version 1.7, 2004/06/22 09:17:21
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/subst.c,v 1.5 2001/10/09 01:36:07 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/builtin/subst.c,v 1.6 2003/11/27 08:28:40 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 91  Obj *rp;
Line 91  Obj *rp;
                         if ( arg && (l = (LIST)ARG0(arg)) && OID(l) == O_LIST )                          if ( arg && (l = (LIST)ARG0(arg)) && OID(l) == O_LIST )
                                 arg = BDY(l);                                  arg = BDY(l);
                         while ( arg ) {                          while ( arg ) {
                                 asir_assert(BDY(arg),O_P,"subst");                                  if ( !BDY(arg) || OID((Obj)BDY(arg)) != O_P )
                                           error("subst : invalid argument");
                                 v = VR((P)BDY(arg)); arg = NEXT(arg);                                  v = VR((P)BDY(arg)); arg = NEXT(arg);
                                 if ( !arg )                                  if ( !arg )
                                         error("subst : invalid argument");                                          error("subst : invalid argument");

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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