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:
parent
45ce3a83ef
commit
6ab7987c69
@ -63,7 +63,7 @@ inline EXTERN int IsAttVar (CELL *pt);
|
|||||||
inline EXTERN int
|
inline EXTERN int
|
||||||
IsAttVar (CELL *pt)
|
IsAttVar (CELL *pt)
|
||||||
{
|
{
|
||||||
return (pt)[-1] == (CELL)attvar_e;
|
return (pt)[-1] == (CELL)attvar_e && pt < H;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
|
Reference in New Issue
Block a user