- Subject: Re: Looping and composite conditions
- From: Morten Bo Johansen <mojo@xxxxxxxx>
- Date: Fri, 20 Dec 2002 23:08:23 +0100
John E. Davis <davis@xxxxxxxxxxxxx> wrote:
JED> It could still loop forever if the last line starts with
JED> "msgstr" and the first if condition fails. It is better to
JED> use "eol()" instead of "()=down(1)" to avoid the problem.
It reminded me that if the last entry was an untranslated one
then it would go unnoticed so I changed the last line in Günter's
is_untranslated function to read
return looking_at ("#") or eobp ();
Regards,
Morten
--
"Experience is what enables you to recognize a mistake when you make it
again." (Earl Wilson)
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2002 date index]
[2002 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]