summaryrefslogtreecommitdiff
path: root/src/clang.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/clang.rs')
-rw-r--r--src/clang.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/clang.rs b/src/clang.rs
index f98644ce..de405c9d 100644
--- a/src/clang.rs
+++ b/src/clang.rs
@@ -735,6 +735,7 @@ impl Drop for Index {
}
// Token
+#[derive(Debug)]
pub struct Token {
pub kind: CXTokenKind,
pub spelling: String,
@@ -1049,7 +1050,9 @@ pub fn kind_to_str(x: Enum_CXCursorKind) -> &'static str {
//CXCursor_FirstPreprocessing => "FirstPreprocessing",
//CXCursor_LastPreprocessing => "LastPreprocessing",
CXCursor_PackedAttr => "PackedAttr",
-
+ CXCursor_ModuleImportDecl => "ModuleImportDecl",
+ CXCursor_TypeAliasTemplateDecl => "TypeAliasTemplateDecl",
+ CXCursor_StaticAssert => "StaticAssert",
_ => "?",
}
}