Fixed a null pointer exception when parsing files with unnamed enums.
Added test case for unnamed enums - should pass with old parser, but fail with new one.