Difference for common/loader.l from version 1.10 to 1.11


version 1.10 version 1.11
Line 1
 
Line 1
 %{  %{
 /*  /*
  * static char *rcsid_object_c =   * static char *rcsid_object_c =
  *   "$Id: loader.l,v 1.10 2001/02/23 06:06:35 mwedel Exp $";   *   "$Id: loader.l,v 1.11 2001/03/17 05:03:08 mwedel Exp $";
  */   */
   
 /*  /*
Line 108
 
Line 108
  * Unfortunately, we will report warnings here simply because an object has   * Unfortunately, we will report warnings here simply because an object has
  * been modified from the arch.   * been modified from the arch.
  */   */
   #if 0 /* #if's don't work in #define macros */
 #define SET_RESIST(op, type, val) \  #define SET_RESIST(op, type, val) \
  {if (op->resist[type]!=0) { \   {if (op->resist[type]!=0) { \
      LOG(llevInfo, "object %s having multiple resistances set, type=%s, old=%d, new=%d\n", \       LOG(llevInfo, "object %s having multiple resistances set, type=%s, old=%d, new=%d\n", \
         op->name?op->name:(op->arch?op->arch->name:"unknown"), \          op->name?op->name:(op->arch?op->arch->name:"unknown"), \
  resist_plus[type], op->resist[type], val); \   resist_plus[type], op->resist[type], val); \
  }  op->resist[type] = val;  }   }  op->resist[type] = val;  }
   #else
   #define SET_RESIST(op, type, val)  op->resist[type] = val;
   #endif
   
 #define IVAL atoi(yval())  #define IVAL atoi(yval())
 #define FVAL atof(yval())  #define FVAL atof(yval())


Legend:
line(s) removed in v.1.10 
line(s) changed
 line(s) added in v.1.11

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:12