Better handling of error messages for parser
Asserting that int vardecls are actually ints