commit | 8d109342afa818d766dc323394964c5f8af4e1ce | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Mon Dec 25 18:24:45 2017 -0500 |
committer | David Tolnay <dtolnay@gmail.com> | Mon Dec 25 18:24:45 2017 -0500 |
tree | 2461ea29a83a1962fc1e7519bdcf5e4f6fbc6046 | |
parent | ea71984b11eff216be73e50f1a3b8a1ad42f4259 [diff] |
Lex underscore in unicode escapes
diff --git a/tests/test.rs b/tests/test.rs index 4d6831b..831c0cb 100644 --- a/tests/test.rs +++ b/tests/test.rs
@@ -47,6 +47,8 @@ "); roundtrip("'a"); roundtrip("'static"); + roundtrip("'\\u{10__FFFF}'"); + roundtrip("\"\\u{10_F0FF__}foo\\u{1_0_0_0__}\""); } #[test]