aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnat/s-regexp.ads
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2020-01-08 10:55:33 -0500
committerPierre-Marie de Rodat <derodat@adacore.com>2020-06-03 06:01:35 -0400
commit0000998e65ce6109d351200bf8e896762932ec2e (patch)
tree6d57e86a333788abe8e6d75b3922f637f07acf4a /gcc/ada/libgnat/s-regexp.ads
parent10e168cdbe4fc6ca1d42b0d56936602feb2ef38b (diff)
downloadgcc-0000998e65ce6109d351200bf8e896762932ec2e.zip
gcc-0000998e65ce6109d351200bf8e896762932ec2e.tar.gz
gcc-0000998e65ce6109d351200bf8e896762932ec2e.tar.bz2
[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
Diffstat (limited to 'gcc/ada/libgnat/s-regexp.ads')
-rw-r--r--gcc/ada/libgnat/s-regexp.ads6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ada/libgnat/s-regexp.ads b/gcc/ada/libgnat/s-regexp.ads
index 993a980..243da67 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