From c38e990f94159ffbf15c7c41f8ea30cccffabfd5 Mon Sep 17 00:00:00 2001 From: Sergey Rybin Date: Fri, 19 Jun 2009 10:34:46 +0000 Subject: gnat_ugn.texi, [...]: Add the documentation for the new gnatmetric option for generating the schema... 2009-06-19 Sergey Rybin * 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 --- gcc/ada/ChangeLog | 6 ++++++ gcc/ada/gnat_ugn.texi | 7 +++++++ gcc/ada/vms_data.ads | 5 +++++ 3 files changed, 18 insertions(+) (limited to 'gcc') 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 + + * 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 * 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 -- cgit v1.1