diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-05 15:17:37 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-05 15:17:37 +0000 |
commit | ffd8b3a5ecc3dd7d1a7c3e1938b6caa1ff221ded (patch) | |
tree | ba708f88b444bcbc812ada1c70ff45ef811962f8 /gcc/ada/vms_data.ads | |
parent | 84600db505c8a0540d2b6c1be6287e3a3631aff4 (diff) | |
download | gcc-ffd8b3a5ecc3dd7d1a7c3e1938b6caa1ff221ded.tar.gz |
2011-08-05 Thomas Quinot <quinot@adacore.com>
* sem_ch11.adb: Add comment.
2011-08-05 Robert Dewar <dewar@adacore.com>
* exp_util.adb: Minor comment fix.
2011-08-05 Robert Dewar <dewar@adacore.com>
* scng.adb (Error_Unterminated_String): Improve flag position when
comma present.
2011-08-05 Matthew Heaney <heaney@adacore.com>
* Makefile.rtl, impunit.adb: Added a-cbmutr.ad[sb] (bounded multiway
tree containers).
* a-cbmutr.ads, a-cbmutr.adb: This is the new Ada 2012 unit for bounded
multiway tree containers.
2011-08-05 Robert Dewar <dewar@adacore.com>
* styleg.adb (Check_Comment): Implement comment spacing of 1 or 2
* stylesw.adb: Implement -gnatyC to control comment spacing
* stylesw.ads (Style_Check_Comments_Spacing): New switch (set by
-gnatyc/C).
* usage.adb: Add line for -gnatyC.
2011-08-05 Robert Dewar <dewar@adacore.com>
* gnat_ugn.texi: Document -gnatyC for J505-006
* vms_data.ads: Implement COMMENTS1/COMMENTS2 (retaining COMMENTS as a
synonym for COMMENTS2).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177453 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/vms_data.ads')
-rw-r--r-- | gcc/ada/vms_data.ads | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gcc/ada/vms_data.ads b/gcc/ada/vms_data.ads index 573cc515155..b742c69265b 100644 --- a/gcc/ada/vms_data.ads +++ b/gcc/ada/vms_data.ads @@ -2319,6 +2319,10 @@ package VMS_Data is "-gnaty-B " & "COMMENTS " & "-gnatyc " & + "COMMENTS1 " & + "-gnatyC " & + "COMMENTS2 " & + "-gnatyc " & "NOCOMMENTS " & "-gnaty-c " & "DOS_LINE_ENDINGS " & @@ -2409,7 +2413,7 @@ package VMS_Data is -- input source code. The following keywords are supported: -- -- ALL_BUILTIN (D) Equivalent to the following list of options: - -- 3, ATTRIBUTE, BLANKS, COMMENTS, END, VTABS, + -- 3, ATTRIBUTE, BLANKS, COMMENTS2, END, VTABS, -- HTABS, IF_THEN, KEYWORD, LAYOUT, LINE_LENGTH, -- PRAGMA, REFERENCES, SPECS, TOKEN. -- @@ -2441,8 +2445,8 @@ package VMS_Data is -- enforce a canonical format for the use of -- blanks to separate source tokens. -- - -- COMMENTS Check comments. - -- Comments must meet the following set of rules: + -- COMMENTS2 Check comments. + -- COMMENTS Comments must meet the following set of rules: -- -- * The "--" that starts the column must either -- start in column one, or else at least one @@ -2488,6 +2492,11 @@ package VMS_Data is -- -- This is a box comment -- -- --------------------------- -- + -- COMMENTS1 Check comments (single space). + -- Like COMMENTS2, but the -- of a comment only + -- requires one or more spaces following, instead + -- of two or more spaces. + -- -- DOS_LINE_ENDINGS Check that no DOS line terminators are present -- All lines must be terminated by a single -- ASCII.LF character. In particular the DOS line |