aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Rybin <rybin@adacore.com>2009-06-19 10:34:46 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2009-06-19 12:34:46 +0200
commitc38e990f94159ffbf15c7c41f8ea30cccffabfd5 (patch)
treef2e30f380f7cf85e2d8218eb06fb7a0e13b9498a
parent1175f0b6e5ee84cd460248c9a19fae521135d0e3 (diff)
downloadgcc-c38e990f94159ffbf15c7c41f8ea30cccffabfd5.zip
gcc-c38e990f94159ffbf15c7c41f8ea30cccffabfd5.tar.gz
gcc-c38e990f94159ffbf15c7c41f8ea30cccffabfd5.tar.bz2
gnat_ugn.texi, [...]: Add the documentation for the new gnatmetric option for generating the schema...
2009-06-19 Sergey Rybin <rybin@adacore.com> * gnat_ugn.texi, vms_data.ads: Add the documentation for the new gnatmetric option for generating the schema file for gnatmetric XML output. Add corresponding VMS qualifier. From-SVN: r148692
-rw-r--r--gcc/ada/ChangeLog6
-rw-r--r--gcc/ada/gnat_ugn.texi7
-rw-r--r--gcc/ada/vms_data.ads5
3 files changed, 18 insertions, 0 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 580763e..a57ce72 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-19 Sergey Rybin <rybin@adacore.com>
+
+ * gnat_ugn.texi, vms_data.ads: Add the documentation for the new
+ gnatmetric option for generating the schema file for gnatmetric XML
+ output. Add corresponding VMS qualifier.
+
2009-06-19 Robert Dewar <dewar@adacore.com>
* g-cgi.adb: Minor reformatting
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index 4e5e214..d4657b5 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -17177,6 +17177,13 @@ The following switches control the @command{gnatmetric} output:
@item ^-x^/XML^
Generate the XML output
+@cindex @option{^-xs^/XSD^} (@command{gnatmetric})
+@item ^-xs^/XSD^
+Generate the XML output and the XML schema file that describes the structure
+of the XML metric report, this schema is assigned to the XML file. The schema
+file has the same name as the XML output file with @file{.xml} suffix replaced
+with @file{.xsd}
+
@cindex @option{^-nt^/NO_TEXT^} (@command{gnatmetric})
@item ^-nt^/NO_TEXT^
Do not generate the output in text form (implies @option{^-x^/XML^})
diff --git a/gcc/ada/vms_data.ads b/gcc/ada/vms_data.ads
index f4841df..bba37de 100644
--- a/gcc/ada/vms_data.ads
+++ b/gcc/ada/vms_data.ads
@@ -4987,6 +4987,8 @@ package VMS_Data is
"!-x,!-nt,!-sfn " &
"XML " &
"-x " &
+ "XSD " &
+ "-xs " &
"NO_TEXT " &
"-nt " &
"SHORT_SOURCE_FILE_NAME " &
@@ -5000,6 +5002,9 @@ package VMS_Data is
-- DEFAULT (D) Generate the text output only, use full
-- argument source names in global information
-- XML Generate the output in XML format
+ -- XSD Generate the output in XML format, and
+ -- generate an XML schema file that describes
+ -- the structure of XML metrics report
-- NO_TEXT Do not generate the text output (implies XML)
-- SHORT_SOURCE_FILE_NAME Use short argument source names in output