Do not emit variables for enum declarations.

GitHub: Fixes #762.
Merge pull request #763 from klickverbot/enum-codegen

Do not emit variables for enum declarations.