]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Minor change to comment in System.Regexp spec
authorBob Duff <duff@adacore.com>
Wed, 8 Jan 2020 15:55:33 +0000 (10:55 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 3 Jun 2020 10:01:35 +0000 (06:01 -0400)
2020-06-03  Bob Duff  <duff@adacore.com>

gcc/ada/

* libgnat/s-regexp.ads: Fix comment

gcc/ada/libgnat/s-regexp.ads

index 993a9805868641fb60f41cb444da70e3a25f666d..243da6775231a4953e0eabe8af779ba73748ec02 100644 (file)
@@ -83,8 +83,10 @@ package System.Regexp is
    --     regexp ::= term
 
    --     term   ::= elmt
-   --     term   ::= elmt elmt ...     -- concatenation (elmt then elmt)
-   --     term   ::= {elmt, elmt, ...} -- alternation (matches any of elmt)
+   --     term   ::= seq
+   --     term   ::= {seq, seq, ...}   -- alternation (matches any of seq)
+
+   --     seq    ::= elmt elmt ...     -- concatenation (sequence of elmts)
 
    --     elmt   ::= *                 -- any string of 0 or more characters
    --     elmt   ::= ?                 -- matches any character