From 71d15c624b816309ebf81015f48e9a951216f485 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Thu, 16 Nov 2017 19:07:40 +0800 Subject: proc_macro - Expression output stubbed, fix bug in libproc_macro parse --- lib/libproc_macro/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/libproc_macro') diff --git a/lib/libproc_macro/src/lib.rs b/lib/libproc_macro/src/lib.rs index 6d094893..9a19dafb 100644 --- a/lib/libproc_macro/src/lib.rs +++ b/lib/libproc_macro/src/lib.rs @@ -274,6 +274,9 @@ impl FromStr for TokenStream { { // Could be an ident starting with 'b', or it's just 'b' // - Fall through + let ident = get_ident(&mut it, "b".into()); + rv.push(Token::Ident(ident)); + continue 'outer; } } -- cgit v1.2.3