I'm reminded of the (broken) C parser in the Linux kernel used for modversions. God forbid you just use libclang.