mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 22:40:34 +02:00
Missing parentheses in SCM_MAKE_CHAR macro
* libguile/chars.h (SCM_MAKE_CHAR): missing parentheses
This commit is contained in:
parent
b07992900b
commit
4847dc172f
1 changed files with 3 additions and 3 deletions
|
@ -33,9 +33,9 @@
|
||||||
#define SCM_CHAR(x) ((scm_t_wchar)SCM_ITAG8_DATA(x))
|
#define SCM_CHAR(x) ((scm_t_wchar)SCM_ITAG8_DATA(x))
|
||||||
|
|
||||||
#define SCM_MAKE_CHAR(x) \
|
#define SCM_MAKE_CHAR(x) \
|
||||||
(x < 0 \
|
((x) < 0 \
|
||||||
? SCM_MAKE_ITAG8 ((scm_t_bits) (unsigned char) x, scm_tc8_char) \
|
? SCM_MAKE_ITAG8 ((scm_t_bits) (unsigned char) (x), scm_tc8_char) \
|
||||||
: SCM_MAKE_ITAG8 ((scm_t_bits) x, scm_tc8_char))
|
: SCM_MAKE_ITAG8 ((scm_t_bits) (x), scm_tc8_char))
|
||||||
|
|
||||||
#define SCM_CODEPOINT_MAX (0x10ffff)
|
#define SCM_CODEPOINT_MAX (0x10ffff)
|
||||||
#define SCM_IS_UNICODE_CHAR(c) \
|
#define SCM_IS_UNICODE_CHAR(c) \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue