Skip to content

Commit 145078b

Browse files
committed
Lib: fix doc
1 parent 6c3bbeb commit 145078b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/ppx/ppx_js.cppo.ml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ let js_mapper _args =
370370
let { pexp_attributes } = expr in
371371
match expr with
372372

373-
(** obj##.var *)
373+
(* obj##.var *)
374374
| [%expr [%e? obj] ##. [%e? meth] ] ->
375375
let meth = exp_to_string meth in
376376
let e_obj, p_obj = mk_id ~loc:obj.pexp_loc "jsoo_obj" in
@@ -389,7 +389,7 @@ let js_mapper _args =
389389
]
390390
in mapper.expr mapper { new_expr with pexp_attributes }
391391

392-
(** obj##.var := value *)
392+
(* obj##.var := value *)
393393
| [%expr [%e? [%expr [%e? obj] ##. [%e? meth]] as res] := [%e? value]] ->
394394
default_loc := res.pexp_loc ;
395395
let meth = exp_to_string meth in
@@ -411,8 +411,8 @@ let js_mapper _args =
411411
]
412412
in mapper.expr mapper { new_expr with pexp_attributes }
413413

414-
(** obj##meth arg1 arg2 .. *)
415-
(** obj##(meth arg1 arg2) .. *)
414+
(* obj##meth arg1 arg2 .. *)
415+
(* obj##(meth arg1 arg2) .. *)
416416
| {pexp_desc = Pexp_apply
417417
(([%expr [%e? obj] ## [%e? meth]] as expr), args)
418418
}
@@ -422,20 +422,20 @@ let js_mapper _args =
422422
let new_expr =
423423
method_call ~loc:expr.pexp_loc obj meth args
424424
in mapper.expr mapper { new_expr with pexp_attributes }
425-
(** obj##meth *)
425+
(* obj##meth *)
426426
| ([%expr [%e? obj] ## [%e? meth]] as expr) ->
427427
let meth = exp_to_string meth in
428428
let new_expr =
429429
method_call ~loc:expr.pexp_loc obj meth []
430430
in mapper.expr mapper { new_expr with pexp_attributes }
431431

432432

433-
(** new%js constr] *)
433+
(* new%js constr] *)
434434
| [%expr [%js [%e? {pexp_desc = Pexp_new constr}]]] ->
435435
let new_expr =
436436
new_object constr []
437437
in mapper.expr mapper { new_expr with pexp_attributes }
438-
(** new%js constr arg1 arg2 ..)] *)
438+
(* new%js constr arg1 arg2 ..)] *)
439439
| {pexp_desc = Pexp_apply
440440
([%expr [%js [%e? {pexp_desc = Pexp_new constr}]]]
441441
, args)
@@ -445,7 +445,7 @@ let js_mapper _args =
445445
in mapper.expr mapper { new_expr with pexp_attributes }
446446

447447

448-
(** object%js ... end *)
448+
(* object%js ... end *)
449449
| [%expr [%js [%e? {pexp_desc = Pexp_object class_struct} ]]] ->
450450
let fields = preprocess_literal_object class_struct.pcstr_fields in
451451
let new_expr = match fields with

0 commit comments

Comments
 (0)