diff options
| author | Ken Raeburn | 2002-05-20 08:38:28 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2002-05-20 08:38:28 +0000 |
| commit | f2ba34f4ede9384f265f7884980e9c4c5c1af306 (patch) | |
| tree | 1db5a71a2f1544b99114062309bbea583e5d438d /src | |
| parent | 07e9823c693085fb025e90ed4d66538c6dece2b4 (diff) | |
| download | emacs-f2ba34f4ede9384f265f7884980e9c4c5c1af306.tar.gz emacs-f2ba34f4ede9384f265f7884980e9c4c5c1af306.zip | |
update LISP_MAKE_RVALUE comment for union, non-gcc case
Diffstat (limited to 'src')
| -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 d8bb5bf08af..c179e8d04d2 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -235,7 +235,11 @@ LISP_MAKE_RVALUE (Lisp_Object o) | |||
| 235 | return o; | 235 | return o; |
| 236 | } | 236 | } |
| 237 | #else | 237 | #else |
| 238 | #define LISP_MAKE_RVALUE(o) (o) /* XXX - keeps arg as rvalue. */ | 238 | /* This isn't quite right - it keeps the argument as an lvalue. |
| 239 | Making it const via casting would help avoid code actually | ||
| 240 | modifying the location in question, but the casting could cover | ||
| 241 | other type-related bugs. */ | ||
| 242 | #define LISP_MAKE_RVALUE(o) (o) | ||
| 239 | #endif | 243 | #endif |
| 240 | 244 | ||
| 241 | #endif /* NO_UNION_TYPE */ | 245 | #endif /* NO_UNION_TYPE */ |