fix equality test in parser.expect (slightly better errors) (fixes #137)