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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c469fdacc2f3302b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: Re: Dynamic Variant Record Creation Date: Wed, 17 Mar 2010 14:28:44 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Injection-Date: Wed, 17 Mar 2010 14:28:44 +0000 (UTC) Injection-Info: feeder.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="16094"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/q+FS3DdAFVcqMOaO81kIlO/ji9oAmjNw=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:Hxr28NulGUHg0ap+oQeJ/DpulDA= Xref: g2news2.google.com comp.lang.ada:10598 Date: 2010-03-17T14:28:44+00:00 List-Id: Robert A Duff expounded in news:wccr5nj247r.fsf@shell01.TheWorld.com: > X : Token_Unit (Token => T); > > to default-initialize stuff. > > But I agree it's not worth the trouble. > > By the way, why do we call the kind/type of token "Token", > and the whole token is "Token_Unit" or some such? I realize that's > what the compiler textbooks often do, but I'd prefer the enumeration > be called Token_Kind, and the record (containing the kind as well as > the identifier string or whatever) be called something else, like > Token. > > - Bob Actually, that is a good point. Before I left the Ada faith a few years ago, I started doing that (using *_Kind). Its not too late for me to make that change, so it might get done tonight. ;-) Warren