OSDN Git Service

Daily bump.
[pf3gnuchains/gcc-fork.git] / gcc / ada / stylesw.ads
index 27c92d5..4ee7074 100644 (file)
@@ -77,7 +77,7 @@ package Stylesw is
    --    For a comment that is not at the start of a line, the only requirement
    --    is that a space follow the comment characters.
    --
-   --    For a coment that is at the start of the line, one of the following
+   --    For a comment that is at the start of the line, one of the following
    --    conditions must hold:
    --
    --      The comment characters are the only non-blank characters on the line
@@ -142,7 +142,7 @@ package Stylesw is
    --  indicated indentation value. A value of zero turns off checking. The
    --  requirement is that any new statement, line comment, declaration or
    --  keyword such as END, start on a column that is a multiple of the
-   --  indentiation value.
+   --  indentation value.
 
    Style_Check_Keyword_Casing : Boolean := False;
    --  This can be set True by using the -gnatg or -gnatyk switches. If it is
@@ -156,8 +156,8 @@ package Stylesw is
    --  with the IF keyword.
 
    Style_Check_Max_Line_Length : Boolean := False;
-   --  This can be set True by using the -gnatg or -gnatym/M switches. If
-   --  it is True, it activates checking for a maximum line length of
+   --  This can be set True by using the -gnatg or -gnatym/M switches.
+   --  If it is True, it activates checking for a maximum line length of
    --  Style_Max_Line_Length characters.
 
    Style_Check_Max_Nesting_Level : Boolean := False;
@@ -165,6 +165,11 @@ package Stylesw is
    --  (a value of zero resets it to False). If True, it activates checking
    --  the maximum nesting level against Style_Max_Nesting_Level.
 
+   Style_Check_Missing_Overriding : Boolean := False;
+   --  This can be set True by using the -gnatyO switch. If it is True, then
+   --  "[not] overriding" is required in subprogram declarations and bodies
+   --  where appropriate.
+
    Style_Check_Mode_In : Boolean := False;
    --  This can be set True by using -gnatyI. If True, it activates checking
    --  that mode IN is not used on its own (since it is the default).
@@ -299,7 +304,7 @@ package Stylesw is
 
    procedure Set_Style_Check_Options (Options : String);
    --  Like the above procedure, but used when the Options string is known to
-   --  be valid. This is for example appopriate for calls where the string ==
+   --  be valid. This is for example appropriate for calls where the string ==
    --  was obtained by Save_Style_Check_Options.
 
    procedure Reset_Style_Check_Options;