parser: Parse types on standalone enum decls correctly.