This commit is contained in:
Aleksey Kladov 2018-01-22 11:31:55 +03:00
parent 13c6a34354
commit d280c72338

View file

@ -127,11 +127,7 @@ fn pos_fields(p: &mut Parser) {
if !p.expect(L_PAREN) {
return;
}
loop {
if p.at(R_PAREN) || p.at(EOF) {
break;
}
while !(p.at(R_PAREN) || p.at(EOF)) {
let pos_field = p.start();
visibility(p);
types::type_ref(p);