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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,be23df8e7e275d73 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-23 10:03:47 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!cyclone2.usenetserver.com!usenetserver.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3B5C4986.12D1CF49@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: emacs Else and ada-mode References: <0zS27.187213$DG1.31590366@news1.rdc1.mi.home.com> <3B4C65F5.B304D12A@earthlink.net> <9ihvff$l7i$1@nh.pace.co.uk> <9ikprr$fku$1@bob.news.rcn.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 23 Jul 2001 16:51:30 GMT NNTP-Posting-Host: 63.178.185.99 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 995907090 63.178.185.99 (Mon, 23 Jul 2001 09:51:30 PDT) NNTP-Posting-Date: Mon, 23 Jul 2001 09:51:30 PDT X-Received-Date: Mon, 23 Jul 2001 09:48:47 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:10478 Date: 2001-07-23T16:51:30+00:00 List-Id: Stephen Leake wrote: > > > DEC Ada had a flag that said "recognize templates, and treat them as > errors". That way, you could check for other syntax errors, but not > generate bogus object code. Adding that to GNAT might be a good idea, > but I never actually used it in DEC Ada. GNAT does have something somewhat along those lines the "Stubbed" convention, for pragma Convention(). >From the GNAT RM: Stubbed Stubbed is a special convention used to indicate that the body of the subprogram will be entirely ignored. Any call to the subprogram is converted into a raise of the Program_Error exception. If a pragma Import specifies convention stubbed then no body need be present at all. This convention is useful during development for the inclusion of subprograms whose body has not yet been written. Marc A. Criley Senior Staff Engineer Quadrus Corporation www.quadruscorp.com