diff options
author | John Hodge <tpg@ucc.asn.au> | 2017-11-16 19:07:40 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2017-11-16 19:07:40 +0800 |
commit | 71d15c624b816309ebf81015f48e9a951216f485 (patch) | |
tree | a510c7090f8415d5daf4b316353bc968458e9939 /lib/libproc_macro | |
parent | 6724a409d6fd72dfc0b031c217881d480fec3378 (diff) | |
download | mrust-71d15c624b816309ebf81015f48e9a951216f485.tar.gz |
proc_macro - Expression output stubbed, fix bug in libproc_macro parse
Diffstat (limited to 'lib/libproc_macro')
-rw-r--r-- | lib/libproc_macro/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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; } } |