[libclang] Python bindings bug.

I noticed that the tokens returned from a cursor pointing to a macro change if there is a typedef following a macro.

How do I go about submiting a bug against this?

import clang.cindex as cindex
from clang.util import get_cursor,get_cursors

t = cindex.TranslationUnit
options=t.PARSE_DETAILED_PROCESSING_RECORD | t.PARSE_PRECOMPILED_PREAMBLE

src1 ="""
#define TEST 5
“”"
tu = t.from_source(‘t.c’,"",unsaved_files=[(‘t.c’,src1)],options=options)
cursor = get_cursor(tu.cursor,‘TEST’)
tokens = list(cursor.get_tokens())
print tokens[-1].spelling #Prints 5 OK

src2 = “”"
#define TEST 5
typedef int int8;
“”"
tu = t.from_source(‘t.c’,"",unsaved_files=[(‘t.c’,src2)],options=options)
cursor = get_cursor(tu.cursor,‘TEST’)
tokens = list(cursor.get_tokens())
print tokens[-1].spelling #Prints typedef FAIL