Do not emit variables for enum declarations.

GitHub: Fixes #762.