We've already read the unexpected semicolon, so advancing again causes
us to skip the next token, causing future errors to be out of sync.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/274439
-2cc5c746ddfbaeb731f10f2232b9a488df12b71e
+81d3afed2b7f7eba4eed4599dfdd10081f67391e
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
go_error_at(this->location(),
"unexpected semicolon or newline in type declaration");
type = Type::make_error_type();
- this->advance_token();
}
if (type->is_error_type())