Fix for PR#1230, make ``.for'' loops iterate backwards.

This commit is contained in:
steve 1996-09-21 04:00:22 +00:00
parent 53961e2108
commit c2d4b0268c

View File

@ -174,7 +174,7 @@ For_Eval (line)
#define ADDWORD() \
Buf_AddBytes(buf, ptr - wrd, (Byte *) wrd), \
Buf_AddByte(buf, (Byte) '\0'), \
Lst_AtEnd(forLst, (ClientData) Buf_GetAll(buf, &varlen)), \
Lst_AtFront(forLst, (ClientData) Buf_GetAll(buf, &varlen)), \
Buf_Destroy(buf, FALSE)
for (ptr = sub; *ptr && isspace((unsigned char) *ptr); ptr++)