parser: Accept "empty" enums/error-domains
commit540aa1492c342f482be6838b97f54437f3b776e4
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 12 Jul 2018 09:19:02 +0000 (12 11:19 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 12 Jul 2018 09:47:44 +0000 (12 11:47 +0200)
treea5669db2920e2680c8fded68ef419fbed846c2ad
parente96b6ab9ab754fe33f6ff002ef80e371153dc716
parser: Accept "empty" enums/error-domains

This drops the semantic check from the parser. Actual errors will be caught
later by the SemanticAnalyzer.

See https://gitlab.gnome.org/GNOME/vala/issues/253
vala/valaparser.vala