public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Ada] Avoid single colon in comment markup
@ 2017-09-29 15:35 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2017-09-29 15:35 UTC (permalink / raw)
  To: gcc-patches; +Cc: Joel Brobecker

[-- Attachment #1: Type: text/plain, Size: 530 bytes --]

This change allows our style-checker to implement a heuristic to detect
either only typed one ':' or mistyped one of the characters, causing the
entire markup block to disappear as it is then unexpectedly being
treated as a comment instead.

Tested on x86_64-pc-linux-gnu, committed on trunk

2017-09-29  Joel Brobecker  <brobecker@adacore.com>

	* doc/gnat_ugn/building_executable_programs_with_gnat.rst,
	doc/gnat_ugn/the_gnat_compilation_model.rst: Avoid use of single colon
	in comment markup.
	* gnat_ugn.texi: Regenerate.


[-- Attachment #2: difs --]
[-- Type: text/plain, Size: 1663 bytes --]

Index: doc/gnat_ugn/building_executable_programs_with_gnat.rst
===================================================================
--- doc/gnat_ugn/building_executable_programs_with_gnat.rst	(revision 253283)
+++ doc/gnat_ugn/building_executable_programs_with_gnat.rst	(working copy)
@@ -559,7 +559,7 @@
   -f, it is equivalent to calling the compiler directly. Note that using
   -u with a project file and no main has a special meaning.
 
-.. --Comment:
+.. --Comment
   (See :ref:`Project_Files_and_Main_Subprograms`.)
 
 
Index: doc/gnat_ugn/the_gnat_compilation_model.rst
===================================================================
--- doc/gnat_ugn/the_gnat_compilation_model.rst	(revision 253283)
+++ doc/gnat_ugn/the_gnat_compilation_model.rst	(working copy)
@@ -1569,7 +1569,7 @@
 If you are using project file, a separate mechanism is provided using
 project attributes.
 
-.. --Comment:
+.. --Comment
    See :ref:`Specifying_Configuration_Pragmas` for more details.
 
 
Index: gnat_ugn.texi
===================================================================
--- gnat_ugn.texi	(revision 253285)
+++ gnat_ugn.texi	(working copy)
@@ -3193,7 +3193,7 @@
 If you are using project file, a separate mechanism is provided using
 project attributes.
 
-@c --Comment:
+@c --Comment
 @c See :ref:`Specifying_Configuration_Pragmas` for more details.
 
 @node Generating Object Files,Source Dependencies,Configuration Pragmas,The GNAT Compilation Model
@@ -7925,7 +7925,7 @@
 -u with a project file and no main has a special meaning.
 @end table
 
-@c --Comment:
+@c --Comment
 @c (See :ref:`Project_Files_and_Main_Subprograms`.)
 
 @geindex -U (gnatmake)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-29 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-29 15:35 [Ada] Avoid single colon in comment markup Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).