From 0000998e65ce6109d351200bf8e896762932ec2e Mon Sep 17 00:00:00 2001 From: Bob Duff Date: Wed, 8 Jan 2020 10:55:33 -0500 Subject: [PATCH] [Ada] Minor change to comment in System.Regexp spec 2020-06-03 Bob Duff gcc/ada/ * libgnat/s-regexp.ads: Fix comment --- 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 -- 2.30.2