Fix doctests and macros
diff --git a/src/token.rs b/src/token.rs
index 6278ef8..f0ed103 100644
--- a/src/token.rs
+++ b/src/token.rs
@@ -23,8 +23,10 @@
 //! ```
 //! # #[macro_use]
 //! # extern crate syn;
+//! # extern crate proc_macro2;
 //! #
-//! # use syn::{Attribute, Visibility, Ident, Type, Expr};
+//! # use proc_macro2::Ident;
+//! # use syn::{Attribute, Visibility, Type, Expr};
 //! #
 //! pub struct ItemStatic {
 //!     pub attrs: Vec<Attribute>,
@@ -58,9 +60,11 @@
 //! ```
 //! #[macro_use]
 //! extern crate syn;
+//! extern crate proc_macro2;
 //!
+//! use proc_macro2::Ident;
 //! use syn::synom::Synom;
-//! use syn::{Attribute, Visibility, Ident, Type, Expr};
+//! use syn::{Attribute, Visibility, Type, Expr};
 //! #
 //! # struct ItemStatic;
 //! # use syn::ItemStatic as SynItemStatic;