More parse error handling: handle errors in patterns and add a catch-all construct to the parser.