From 70893a35ab7d11f574059666df9a7b46f70c9311 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Mon, 18 Feb 2013 17:26:19 +0100 Subject: noncharacter code points are allowed --- erts/emulator/hipe/hipe_native_bif.c | 4 +--- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3