Funtion to parse a single ident
diff --git a/src/lib.rs b/src/lib.rs
index 824c7b6..6f5fd21 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -144,6 +144,10 @@
         unwrap("token trees", mac::parsing::token_trees, input)
     }
 
+    pub fn parse_ident(input: &str) -> Result<Ident, String> {
+        unwrap("identifier", ident::parsing::ident, input)
+    }
+
     fn unwrap<T>(name: &'static str,
                  f: fn(&str) -> IResult<&str, T>,
                  input: &str)