Add parser support for topdecl. Pushes the old "accept anything" rules further down.