Add the typedef detection inside the kernel parser