From a02b10a0621adfe36eb3cc2e46f45fc7ccdb7ea2 Mon Sep 17 00:00:00 2001 From: Eduard Burtescu Date: Fri, 14 Feb 2014 07:07:09 +0200 Subject: Refactored ast_map and friends, mainly to have Paths without storing them. --- src/libfourcc/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libfourcc') diff --git a/src/libfourcc/lib.rs b/src/libfourcc/lib.rs index df693bd1d8b..e0353cb1fb6 100644 --- a/src/libfourcc/lib.rs +++ b/src/libfourcc/lib.rs @@ -74,7 +74,7 @@ pub fn expand_syntax_ext(cx: &mut ExtCtxt, sp: Span, tts: &[ast::TokenTree]) -> let little = match endian { None => false, - Some(Ident{ident, span}) => match token::get_ident(ident.name).get() { + Some(Ident{ident, span}) => match token::get_ident(ident).get() { "little" => true, "big" => false, "target" => target_endian_little(cx, sp), -- cgit 1.4.1-3-g733a5