Taddeus Kroes 12 лет назад
Родитель
Сommit
41961457ea
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      types.mli

+ 6 - 6
types.mli

@@ -142,7 +142,7 @@ and node =
 
 
 (** {2 Assembly instructions} *)
 (** {2 Assembly instructions} *)
 
 
-(** Stack variable scopes. Correspond to [(load|store)[gln ]] respectively. *)
+(** Stack scopes. Correspond to [(load|store|isr)[gln ]] respectively. *)
 type stack_scope = Glob | Local | Rel of int | Current
 type stack_scope = Glob | Local | Rel of int | Current
 
 
 (** Function scopes. *)
 (** Function scopes. *)
@@ -150,8 +150,8 @@ type rtn_scope = ExternFun of int | LocalFun of int * string
 
 
 (** Assembly instructions. *)
 (** Assembly instructions. *)
 type instr =
 type instr =
-  | Comment of string                   (** [# <comment>] *)
-  | InlineComment of instr * string     (** [<instr>  # <comment>] *)
+  | Comment of string                   (** [; <comment>] *)
+  | InlineComment of instr * string     (** [<instr>  ; <comment>] *)
   | Label of string                     (** [<label>:] *)
   | Label of string                     (** [<label>:] *)
 
 
   (* Directives *)
   (* Directives *)
@@ -164,9 +164,9 @@ type instr =
   | Global of ctype
   | Global of ctype
     (** [.global <type>] *)
     (** [.global <type>] *)
 
 
-  | Store of ctype * stack_scope * int  (** [[ifba]store[ gnl]] *)
+  | Store of ctype * stack_scope * int  (** [[ifba]store[ gn]] *)
 
 
-  | Load of ctype * stack_scope * int   (** [[ifb]load[ gnl] G] *)
+  | Load of ctype * stack_scope * int   (** [[ifb]load[ gn] G] *)
   | LoadConst of ctype * int            (** [[ifb]loadc C] *)
   | LoadConst of ctype * int            (** [[ifb]loadc C] *)
   | LoadImm of const                    (** [[ifb]loadc_[01tf] | iloadc_m1] *)
   | LoadImm of const                    (** [[ifb]loadc_[01tf] | iloadc_m1] *)
 
 
@@ -222,7 +222,7 @@ type args_record = {
   mutable cpp      : bool;
   mutable cpp      : bool;
   (** Run C preprocessor? *)
   (** Run C preprocessor? *)
   mutable optimize : bool;
   mutable optimize : bool;
-  (** Run {!Constprop} and {!Peephole} phases? *)
+  (** Run optimization phases? *)
   mutable endphase : string;
   mutable endphase : string;
   (** Stop at the phase which has the given identifier (see {!Main.phases}). *)
   (** Stop at the phase which has the given identifier (see {!Main.phases}). *)
 }
 }