diff options
author | Lukas Larsson <[email protected]> | 2013-02-18 17:26:19 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-02-18 17:26:19 +0100 |
commit | 70893a35ab7d11f574059666df9a7b46f70c9311 (patch) | |
tree | 88df1930647bac075363e3cc632d686d1ef880ad /erts/emulator | |
parent | 710cd8efa09ecb62af06f61402683bf2a13481fc (diff) | |
download | otp-70893a35ab7d11f574059666df9a7b46f70c9311.tar.gz otp-70893a35ab7d11f574059666df9a7b46f70c9311.tar.bz2 otp-70893a35ab7d11f574059666df9a7b46f70c9311.zip |
noncharacter code points are allowed
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/hipe/hipe_native_bif.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/hipe/hipe_native_bif.c b/erts/emulator/hipe/hipe_native_bif.c index 3be821f8f7..af1c36777f 100644 --- a/erts/emulator/hipe/hipe_native_bif.c +++ b/erts/emulator/hipe/hipe_native_bif.c @@ -503,9 +503,7 @@ static int validate_unicode(Eterm arg) { if (is_not_small(arg) || arg > make_small(0x10FFFFUL) || - (make_small(0xD800UL) <= arg && arg <= make_small(0xDFFFUL)) || - arg == make_small(0xFFFEUL) || - arg == make_small(0xFFFFUL)) + (make_small(0xD800UL) <= arg && arg <= make_small(0xDFFFUL))) return 0; return 1; } |