Mercurial > emacs
diff src/lisp.h @ 45416:c6aa7f66df20
update LISP_MAKE_RVALUE comment for union, non-gcc case
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Mon, 20 May 2002 08:38:28 +0000 |
parents | 13e858104d3b |
children | 6b37dbf4d2a5 |
line wrap: on
line diff
--- a/src/lisp.h Mon May 20 08:10:41 2002 +0000 +++ b/src/lisp.h Mon May 20 08:38:28 2002 +0000 @@ -235,7 +235,11 @@ return o; } #else -#define LISP_MAKE_RVALUE(o) (o) /* XXX - keeps arg as rvalue. */ +/* This isn't quite right - it keeps the argument as an lvalue. + Making it const via casting would help avoid code actually + modifying the location in question, but the casting could cover + other type-related bugs. */ +#define LISP_MAKE_RVALUE(o) (o) #endif #endif /* NO_UNION_TYPE */