Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Commit

Permalink
* lang_ml/parsing/ast_ml.ml: removed NotParsedCorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
pad committed Mar 8, 2014
1 parent 2d55a3d commit 77c1610
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions lang_ml/parsing/ast_ml.ml
Expand Up @@ -329,8 +329,6 @@ and toplevel =
(* some ml files contain some #! or even #load directives *)
| TopDirective of tok

| NotParsedCorrectly of tok list

and program = toplevel list

(* with tarzan *)
Expand Down
3 changes: 0 additions & 3 deletions lang_ml/parsing/meta_ast_ml.ml
Expand Up @@ -514,9 +514,6 @@ and vof_toplevel =
let v1 = vof_seq_expr v1 in Ocaml.VSum (("TopSeqExpr", [ v1 ]))
| TopDirective v1 ->
let v1 = vof_info v1 in Ocaml.VSum (("TopDirective", [ v1 ]))
| NotParsedCorrectly v1 ->
let v1 = Ocaml.vof_list vof_info v1
in Ocaml.VSum (("NotParsedCorrectly", [ v1 ]))
and vof_program v = Ocaml.vof_list vof_toplevel v

let vof_any =
Expand Down
1 change: 0 additions & 1 deletion lang_ml/parsing/visitor_ml.ml
Expand Up @@ -544,7 +544,6 @@ and v_toplevel x =
| Item v1 -> let v1 = v_item v1 in ()
| ScSc v1 -> let v1 = v_info v1 in ()
| TopSeqExpr v1 -> let v1 = v_seq_expr v1 in ()
| NotParsedCorrectly v1 -> let v1 = Ocaml.v_list v_info v1 in ()
| TopDirective v1 -> let v1 = v_info v1 in ()
in
vin.ktoplevel (k, all_functions) x
Expand Down

0 comments on commit 77c1610

Please sign in to comment.