about summary refs log tree commit diff
path: root/src/libsyntax_ext
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2019-07-21 14:50:39 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2019-09-04 13:11:11 +0300
commita0c186c34f67c7eb3b392755091dd3a17f5acbdf (patch)
tree19df1cce8304c2ebf11afccf35968fa08d9e7ab1 /src/libsyntax_ext
parentb9de4ef89e0e53099a084001b26ec3207c5f8391 (diff)
downloadrust-a0c186c34f67c7eb3b392755091dd3a17f5acbdf.tar.gz
rust-a0c186c34f67c7eb3b392755091dd3a17f5acbdf.zip
remove XID and Pattern_White_Space unicode tables from libcore
They are only used by rustc_lexer, and are not needed elsewhere.

So we move the relevant definitions into rustc_lexer (while the actual
unicode data comes from the unicode-xid crate) and make the rest of
the compiler use it.
Diffstat (limited to 'src/libsyntax_ext')
-rw-r--r--src/libsyntax_ext/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax_ext/Cargo.toml b/src/libsyntax_ext/Cargo.toml
index 73310df305b..791ee94b4fa 100644
--- a/src/libsyntax_ext/Cargo.toml
+++ b/src/libsyntax_ext/Cargo.toml
@@ -18,3 +18,4 @@ rustc_target = { path = "../librustc_target" }
 smallvec = { version = "0.6.7", features = ["union", "may_dangle"] }
 syntax = { path = "../libsyntax" }
 syntax_pos = { path = "../libsyntax_pos" }
+rustc_lexer = { path = "../librustc_lexer" }