comparison src/symbols.c @ 4503:af95657e0bfd

Use EQ() and !EQ() in symbols.c, thank you Robert Delius Royar. 2008-08-27 Aidan Kehoe <kehoea@parhasard.net> * symbols.c (Fuser_variable_p): (map_varalias_chain): Use EQ() and !EQ(), don't compare two Lisp_Objects using == and !=. Fixes the union build, thank you Robert Delius Royar.
author Aidan Kehoe <kehoea@parhasard.net>
date Wed, 27 Aug 2008 00:39:09 +0200
parents 8748a3f7ceb4
children 69a1eda3da06
comparison
equal deleted inserted replaced
4502:8748a3f7ceb4 4503:af95657e0bfd
2821 if (EQ (Qzero, mapped)) 2821 if (EQ (Qzero, mapped))
2822 { 2822 {
2823 return Qnil; 2823 return Qnil;
2824 } 2824 }
2825 2825
2826 assert (make_int (1) == mapped); 2826 assert (EQ (make_int (1), mapped));
2827 2827
2828 return Qt; 2828 return Qt;
2829 } 2829 }
2830 2830
2831 2831
3245 SYMBOL_VALUE_VARALIAS_P (val); 3245 SYMBOL_VALUE_VARALIAS_P (val);
3246 hare = symbol_value_varalias_aliasee (XSYMBOL_VALUE_VARALIAS (val)), 3246 hare = symbol_value_varalias_aliasee (XSYMBOL_VALUE_VARALIAS (val)),
3247 count++) 3247 count++)
3248 { 3248 {
3249 res = (fn) (hare); 3249 res = (fn) (hare);
3250 if (Qzero != res) 3250 if (!EQ (Qzero, res))
3251 { 3251 {
3252 return res; 3252 return res;
3253 } 3253 }
3254 3254
3255 if (count < VARALIAS_INDIRECTION_SUSPICION_LENGTH) continue; 3255 if (count < VARALIAS_INDIRECTION_SUSPICION_LENGTH) continue;