diff options
author | Ken Raeburn <[email protected]> | 2002-05-20 08:38:28 +0000 |
---|---|---|
committer | Ken Raeburn <[email protected]> | 2002-05-20 08:38:28 +0000 |
commit | f2ba34f4ede9384f265f7884980e9c4c5c1af306 (patch) | |
tree | 1db5a71a2f1544b99114062309bbea583e5d438d /src/lisp.h | |
parent | 07e9823c693085fb025e90ed4d66538c6dece2b4 (diff) |
update LISP_MAKE_RVALUE comment for union, non-gcc case
Diffstat (limited to 'src/lisp.h')
-rw-r--r-- | src/lisp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index d8bb5bf08a..c179e8d04d 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -235,7 +235,11 @@ LISP_MAKE_RVALUE (Lisp_Object o) 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 */ |