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,6d9eb594a33cb947 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-26 14:45:07 PST Path: supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!howland.erols.net!news-out.nntp.airnews.net.MISMATCH!cabal10.airnews.net!news.airnews.net!cabal11.airnews.net!news.airnews.net!news.cadence.com!not-for-mail From: Paul Graham Newsgroups: comp.lang.ada Subject: Re: very specific question on Ada syntax Date: Fri, 26 Jan 2001 17:43:15 -0500 Organization: Cadence Design Systems Message-ID: <3A71FD83.281DFC3E@cadence.com> References: NNTP-Posting-Host: pgraham-dsl.cadence.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.51 [en] (X11; I; SunOS 5.5.1 sun4u) X-Accept-Language: en Xref: supernews.google.com comp.lang.ada:4586 Date: 2001-01-26T17:43:15-05:00 List-Id: Christoph Grein wrote: > > There are no one-character attributes I'm aware of; I do not know of a > requirement in the RM to not have an implemetation defined one either. But three > lexers I know (OpenToken, the one in AdaGIDE, and my one) rely on this fact. I'm curious what the basis is for this reliance on attributes being more than one character long. You don't check the preceding token's type to determine if a character literal is allowed? Paul