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.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no 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-30 10:50:16 PST Path: supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!feed.textport.net!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Robert Dewar Newsgroups: comp.lang.ada Subject: RE: very specific question on Ada syntax Date: Tue, 30 Jan 2001 18:41:20 GMT Organization: Deja.com Message-ID: <9571se$gom$1@nnrp1.deja.com> References: NNTP-Posting-Host: 205.232.38.14 X-Article-Creation-Date: Tue Jan 30 18:41:20 2001 GMT X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; U) X-Http-Proxy: 1.0 x62.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 X-MyDeja-Info: XMYDJUIDrobert_dewar Xref: supernews.google.com comp.lang.ada:4721 Date: 2001-01-30T18:41:20+00:00 List-Id: In article , comp.lang.ada@ada.eu.org wrote: > OK, I already knew about the difference of access and > 'Access, but I ignored this deliberately. You may be confused here, when the 'Access attribute is used, the word access here is the reserved keyword access, not an identifier (go look at the grammar in the RM). > Also here OpenToken will fail.] How? It should return access as a reserved keyword, surely it does ... > I'm more worried about how to lex wide characters. I gather > the best way in OpenToken would be to leave the character > recognizer alone and create a new wide_character recognizer, > which then could handle the different encodings. We > can postpone this until the need arises. There are quite a few tricky issues here, have a look at the GNAT scanner for information. Sent via Deja.com http://www.deja.com/