diff options
author | Hans Bolinder <[email protected]> | 2013-03-29 08:32:14 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2013-03-29 08:32:14 +0100 |
commit | 17363bb1adb83511faff999c16cc4fe6ad6f6691 (patch) | |
tree | 9128f032ea3b47ce8262d35159f2e9d634c071e9 /lib/stdlib/src | |
parent | 843d0286958db87c91d0b6f26f0ba4962dcd956c (diff) | |
parent | fe7e36baf92a92198b21c698c62f61acb5dee9af (diff) | |
download | otp-17363bb1adb83511faff999c16cc4fe6ad6f6691.tar.gz otp-17363bb1adb83511faff999c16cc4fe6ad6f6691.tar.bz2 otp-17363bb1adb83511faff999c16cc4fe6ad6f6691.zip |
Merge branch 'maint'
* maint:
Fix a bug in the Erlang scanner
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r-- | lib/stdlib/src/erl_scan.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stdlib/src/erl_scan.erl b/lib/stdlib/src/erl_scan.erl index 3651f608bc..d988a4d8c7 100644 --- a/lib/stdlib/src/erl_scan.erl +++ b/lib/stdlib/src/erl_scan.erl @@ -338,6 +338,7 @@ string_thing(_) -> "string". -define(DIGIT(C), C >= $0, C =< $9). -define(CHAR(C), is_integer(C), C >= 0). -define(UNICODE(C), + is_integer(C) andalso (C >= 0 andalso C < 16#D800 orelse C > 16#DFFF andalso C < 16#FFFE orelse C > 16#FFFF andalso C =< 16#10FFFF)). |