summarylogtreecommitdiffstats
path: root/lang_js-analyze-module_js.ml-Fix-invalid-documentati.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lang_js-analyze-module_js.ml-Fix-invalid-documentati.patch')
-rw-r--r--lang_js-analyze-module_js.ml-Fix-invalid-documentati.patch80
1 files changed, 80 insertions, 0 deletions
diff --git a/lang_js-analyze-module_js.ml-Fix-invalid-documentati.patch b/lang_js-analyze-module_js.ml-Fix-invalid-documentati.patch
new file mode 100644
index 000000000000..d11860fcbec2
--- /dev/null
+++ b/lang_js-analyze-module_js.ml-Fix-invalid-documentati.patch
@@ -0,0 +1,80 @@
+From 90424f6a206b32c0995e043fe404e694c884b5d3 Mon Sep 17 00:00:00 2001
+From: Juergen Hoetzel <juergen@archlinux.org>
+Date: Mon, 24 Aug 2015 13:55:44 +0200
+Subject: [PATCH] * lang_js/analyze/module_js.ml: Fix invalid documentation
+ comments. Refs #130
+
+See: http://caml.inria.fr/mantis/view.php?id=6916
+---
+ lang_js/analyze/module_js.ml | 22 +++++++++++-----------
+ 1 file changed, 11 insertions(+), 11 deletions(-)
+
+diff --git a/lang_js/analyze/module_js.ml b/lang_js/analyze/module_js.ml
+index 1433bf0..3bf63b3 100644
+--- a/lang_js/analyze/module_js.ml
++++ b/lang_js/analyze/module_js.ml
+@@ -48,50 +48,50 @@ type shape =
+ | LiteralShape
+ | ArrayShape
+
+- (** _((id,container,maps) ref) **)
++ (* _((id,container,maps) ref) *)
+ (* this is a ref to allow extensible representations *)
+ (* id is unique, and is used to prune infinite recursion *)
+ (* maps is an ObjectShape list *)
+ | ObjectShape of (int * shape smap * shape list) ref
+
+- (** _(block,constructor) **)
++ (* _(block,constructor) *)
+ (* block is an ObjectShape *)
+ (* constructor is a ClassShape *)
+ | FunctionShape of shape Common.smap ref * shape
+
+- (** _(module) **)
++ (* _(module) *)
+ | RequireShape of module_
+
+- (** _(reason) **)
++ (* _(reason) *)
+ | UnknownShape of string
+
+- (** _(instance, static) **)
++ (* _(instance, static) *)
+ (* instance is a ObjectShape *)
+ (* static is a ObjectShape where static.prototype is a ObjectShape *)
+ | ClassShape of shape * shape
+
+- (** _(class) **)
++ (* _(class) *)
+ (* class is a ClassShape *)
+ (* returns an ObjectShape *)
+ | NewShape of shape
+
+- (** _(maps) **)
++ (* _(maps) *)
+ (* maps is an ObjectShape *)
+ (* returns a ClassShape *)
+ | MixinShape of shape
+
+- (** _(class,mixin) **)
++ (* _(class,mixin) *)
+ (* class is a ClassShape, mixin is a ClassShape *)
+ (* returns a ClassShape *)
+ | ClassWithMixinShape of shape * shape
+
+- (** _(object,prop) **)
++ (* _(object,prop) *)
+ | PropertyShape of shape * string
+
+- (** _(function) **)
++ (* _(function) *)
+ | ApplyShape of shape
+
+- (** _(array) **)
++ (* _(array) *)
+ | ElementShape of shape
+
+ let fresh_id =
+--
+2.5.0
+