[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RE_TRANSLATE_P
From: |
Richard Stallman |
Subject: |
Re: RE_TRANSLATE_P |
Date: |
Tue, 30 Nov 2004 02:02:41 -0500 |
It seems like that change was made in several places, so perhaps
we should have a ZEROP macro to test such cases in a portable
manner.
That would be a natural extension if it had no problems.
But as you pointed out, it has a problem:
But the second form evals 'obj' twice, so we need a BIG FAT WARNING
when using ZEROP, or find some other portable way to implement it.
So let's not replace an easy change with a hard one. The specific
change I suggested has no problem, because RE_TRANSLATE_P is used only
with variables as arguments.