be stricter about what is an attributed variable: the previous definition allowed confusion if there was garbage in the local stack.

This commit is contained in:
Vitor Santos Costa 2010-10-15 13:14:37 +01:00
parent 45ce3a83ef
commit 6ab7987c69
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ inline EXTERN int IsAttVar (CELL *pt);
inline EXTERN int
IsAttVar (CELL *pt)
{
return (pt)[-1] == (CELL)attvar_e;
return (pt)[-1] == (CELL)attvar_e && pt < H;
}
typedef enum