Re: problems with identifiers and keywords...

Gene Wirchenko <genew@mail.ocis.net>
14 Nov 2004 22:39:27 -0500

          From comp.compilers

Related articles
[4 earlier articles]
Re: problems with identifiers and keywords... cfc@shell01.TheWorld.com (Chris F Clark) (2004-11-02)
Re: problems with identifiers and keywords... gah@ugcs.caltech.edu (glen herrmannsfeldt) (2004-11-06)
Re: problems with identifiers and keywords... wclodius@lanl.gov (2004-11-06)
Re: problems with identifiers and keywords... wyrmwif@tsoft.org (SM Ryan) (2004-11-07)
Re: problems with identifiers and keywords... vbdis@aol.com (2004-11-07)
Re: problems with identifiers and keywords... cfc@shell01.TheWorld.com (Chris F Clark) (2004-11-14)
Re: problems with identifiers and keywords... genew@mail.ocis.net (Gene Wirchenko) (2004-11-14)
Re: problems with identifiers and keywords... gah@ugcs.caltech.edu (glen herrmannsfeldt) (2004-11-17)
Re: problems with identifiers and keywords... gah@ugcs.caltech.edu (glen herrmannsfeldt) (2004-11-17)
Re: problems with identifiers and keywords... lkrupp@pssw.NOSPAM.com.INVALID (Louis Krupp) (2004-11-17)
Re: problems with identifiers and keywords... cfc@shell01.TheWorld.com (Chris F Clark) (2004-11-17)
Re: problems with identifiers and keywords... nmm1@cus.cam.ac.uk (2004-11-19)
RE: problems with identifiers and keywords... tom@kednos.com (Tom Linden) (2004-11-19)
[11 later articles]
| List of all articles for this month |
From: Gene Wirchenko <genew@mail.ocis.net>
Newsgroups: comp.compilers
Date: 14 Nov 2004 22:39:27 -0500
Organization: Posted via Supernews, http://www.supernews.com
References: 04-10-148 04-10-170 04-10-174 04-11-008 04-11-011
Keywords: parse, design
Posted-Date: 14 Nov 2004 22:39:26 EST

glen herrmannsfeldt <gah@ugcs.caltech.edu> wrote:


[snip]


>Another problem is that many compilers aren't good at giving a
>meaningful diagnostic when a keyword is used as an identifier.


          My contributions to the world of compilers:


                    Keyword "KW" is not legal in this context.


                    You can not use the keyword "KW" here.


                    An identifier was expected, but the keyword "KW" was
encountered. Change the keyword to a valid identifier.


                    Illegal positioning of control phrase in id-use context.
(#24F9)


          (Just joking about the last one.) Really, I think something like
this is fairly obvious. Am I missing something about the matter?


Sincerely,


Gene Wirchenko


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.