Taddeus Kroes 12 роки тому
батько
коміт
089a32c1a6
1 змінених файлів з 5 додано та 5 видалено
  1. 5 5
      types.mli

+ 5 - 5
types.mli

@@ -86,11 +86,11 @@ and node =
     (** counter, start, stop, step, body
         [for (int <counter> = <start>, <stop>[, <step>]) <body>] *)
   | Return of node * ann
-    (** return value [return <value>;] *)
+    (** Return value [return <value>;] *)
   | Expr of node
-    (** expression statement [<expr>;] *)
+    (** Expression statement [<expr>;] *)
   | Block of node list
-    (** statement list enclosed in braces: body [{ <body> }] *)
+    (** Statement list enclosed in braces: body [{ <body> }] *)
   | If of node * node * ann
     (** condition, body [if (<condition>) <body>] *)
   | IfElse of node * node * node * ann
@@ -103,9 +103,9 @@ and node =
   (* Expressions *)
 
   | Const of const * ann
-    (** constant [bool|int|float constant] *)
+    (** Constant value, e.g. [0] or [1.0] or [true]. *)
   | ArrayConst of node list * ann
-    (** array initialisation [[ <expr> , ... ]] *)
+    (** Array initialisation [[ <expr> , ... ]] *)
   | Var of string * node list option * ann
     (** name, indices [<name> | <name>[<indices>] ] *)
   | Monop of operator * node * ann