[gcc(refs/users/guojiufu/heads/personal-branch)] [Ada] Minor change to comment in System.Regexp spec

Jiu Fu Guo guojiufu@gcc.gnu.org
Wed Jun 10 03:29:33 GMT 2020


https://gcc.gnu.org/g:0000998e65ce6109d351200bf8e896762932ec2e

commit 0000998e65ce6109d351200bf8e896762932ec2e
Author: Bob Duff <duff@adacore.com>
Date:   Wed Jan 8 10:55:33 2020 -0500

    [Ada] Minor change to comment in System.Regexp spec
    
    2020-06-03  Bob Duff  <duff@adacore.com>
    
    gcc/ada/
    
            * libgnat/s-regexp.ads: Fix comment

Diff:
---
 gcc/ada/libgnat/s-regexp.ads | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gcc/ada/libgnat/s-regexp.ads b/gcc/ada/libgnat/s-regexp.ads
index 993a9805868..243da677523 100644
--- a/gcc/ada/libgnat/s-regexp.ads
+++ b/gcc/ada/libgnat/s-regexp.ads
@@ -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


More information about the Gcc-cvs mailing list