diff options
Diffstat (limited to 'src/ir/enum_ty.rs')
-rw-r--r-- | src/ir/enum_ty.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ir/enum_ty.rs b/src/ir/enum_ty.rs index 38de01d9..731961a6 100644 --- a/src/ir/enum_ty.rs +++ b/src/ir/enum_ty.rs @@ -1,5 +1,6 @@ //! Intermediate representation for C/C++ enumerations. +use super::comment; use super::context::{BindgenContext, ItemId}; use super::item::Item; use super::ty::TypeKind; @@ -113,7 +114,7 @@ impl Enum { }) }); - let comment = cursor.raw_comment(); + let comment = cursor.raw_comment().map(comment::preprocess); variants.push(EnumVariant::new(name, comment, val, |