|
@@ -742,7 +742,7 @@ and parse_class_fields tdecl p1 s =
|
|
let l = parse_class_field_resume tdecl s in
|
|
let l = parse_class_field_resume tdecl s in
|
|
let p2 = (match s with parser
|
|
let p2 = (match s with parser
|
|
| [< '(BrClose,p2) >] -> p2
|
|
| [< '(BrClose,p2) >] -> p2
|
|
- | [< >] -> if do_resume() then p1 else serror()
|
|
|
|
|
|
+ | [< >] -> if do_resume() then pos (last_token s) else serror()
|
|
) in
|
|
) in
|
|
l, p2
|
|
l, p2
|
|
|
|
|