From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Error in draft 17 grammar Date: Tue, 19 Feb 2019 17:35:01 -0600 Organization: JSA Research & Innovation Message-ID: References: Injection-Date: Tue, 19 Feb 2019 23:35:02 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="21336"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader01.eternal-september.org comp.lang.ada:55594 Date: 2019-02-19T17:35:01-06:00 List-Id: >Lucretia" wrote in message >news:be97c232-8a6b-4159-ab65-097d5e572b9d@googlegroups.com... > 4.3.5: > key_choice ::= key_expression | discrete_range} > > I assume it should be: > > 4.3.5: > key_choice ::= key_expression {| discrete_range} > > ? No, it's a stray '}'. Just delete it. If you've ever looked at the source files, they're chock full of square and curly brackets (mainly because the other delimiters that Scribe allowed appear in too much Ada text to use them frequently -- Scribe doesn't have a quoting mechanism, rather it has six pairs of delimiters, and you have to put a pair that isn't used in the actual text. Yuck.) So these happen periodically, and syntax is the worst (since it uses ] and } and ) and might use >, or " or '). I haven't yet found something that uses something from all six pairs, but it wouldn't surprise me if I did. Anyway, it's best to send these sorts of comments directly to me (using the agent e-mail) or to the Ada-Comment list. Best not to hope I find them somewhere else. Randy.