From: Bob Duff Date: Wed, 8 Jan 2020 15:55:33 +0000 (-0500) Subject: [Ada] Minor change to comment in System.Regexp spec X-Git-Tag: upstream/12.2.0~16099 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0000998e65ce6109d351200bf8e896762932ec2e;p=platform%2Fupstream%2Fgcc.git [Ada] Minor change to comment in System.Regexp spec 2020-06-03 Bob Duff gcc/ada/ * libgnat/s-regexp.ads: Fix comment --- 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