From 24578e0fe555f267bef40528b8ac79bc7e898007 Mon Sep 17 00:00:00 2001 From: Kevin Butler Date: Thu, 12 Nov 2015 02:43:43 +0000 Subject: libsyntax: accept only whitespace with the PATTERN_WHITE_SPACE property This aligns with unicode recommendations and should be stable for all future unicode releases. See http://unicode.org/reports/tr31/#R3. This renames `libsyntax::lexer::is_whitespace` to `is_pattern_whitespace` so potentially breaks users of libsyntax. --- src/libsyntax/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libsyntax/lib.rs') diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index 795f4044f6e..6fe741794cf 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -37,6 +37,7 @@ extern crate term; extern crate libc; #[macro_use] extern crate log; #[macro_use] #[no_link] extern crate rustc_bitflags; +extern crate rustc_unicode; extern crate serialize as rustc_serialize; // used by deriving -- cgit 1.4.1-3-g733a5