|
@@ -207,7 +207,7 @@ and parse_class_field_resume s =
|
|
(* junk all tokens until we reach next variable/function or next type declaration *)
|
|
(* junk all tokens until we reach next variable/function or next type declaration *)
|
|
let rec loop() =
|
|
let rec loop() =
|
|
(match List.map fst (Stream.npeek 2 s) with
|
|
(match List.map fst (Stream.npeek 2 s) with
|
|
- | Kwd Public :: _ | Kwd Static :: _ | Kwd Var :: _ | Kwd Override :: _ ->
|
|
|
|
|
|
+ | Kwd Public :: _ | Kwd Static :: _ | Kwd Var :: _ | Kwd Override :: _ | Kwd Dynamic :: _ ->
|
|
raise Exit
|
|
raise Exit
|
|
| [] | Eof :: _ | Kwd Extern :: _ | Kwd Class :: _ | Kwd Interface :: _ | Kwd Enum :: _ | Kwd Typedef :: _ ->
|
|
| [] | Eof :: _ | Kwd Extern :: _ | Kwd Class :: _ | Kwd Interface :: _ | Kwd Enum :: _ | Kwd Typedef :: _ ->
|
|
raise Not_found
|
|
raise Not_found
|