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!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!gandalf.srv.welterde.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Placement of pragmas in the grammar (language laywers required) Date: Thu, 10 Dec 2015 17:47:21 -0600 Organization: JSA Research & Innovation Message-ID: References: <874mfqz0qr.fsf@theworld.com><02d6416b-57a8-4d99-bfb3-3baa5f30531c@googlegroups.com> <87zixixj24.fsf@theworld.com> NNTP-Posting-Host: rrsoftware.com X-Trace: loke.gir.dk 1449791242 32138 24.196.82.226 (10 Dec 2015 23:47:22 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 10 Dec 2015 23:47:22 +0000 (UTC) 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.6157 Xref: news.eternal-september.org comp.lang.ada:28767 Date: 2015-12-10T17:47:21-06:00 List-Id: "Bob Duff" wrote in message news:87zixixj24.fsf@theworld.com... > Lucretia writes: > >> I would assume the check to make sure pragma is "not in place of" >> something >> should be part of the semantic steps? > > That's probably easiest. I'm pretty sure that's what Janus/Ada does. (Either that or it doesn't check at all, 'cause it isn't practical or sensible (the error correction would be nasty) to put that rule into the grammar.) Randy.