Path: utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bbn!mailrus!rutgers!labrea!polya!ham From: ham@polya.Stanford.EDU (Peter R. Ham) Newsgroups: gnu.gcc.bug Subject: How do I add a new keywork to the front end? Message-ID: Date: 17 Jan 89 03:02:23 GMT Sender: ham@polya.Stanford.EDU Distribution: gnu Organization: Stanford University Lines: 21 I'm trying to add the new keyword "shared" as a storage class specifier for the front end. In c-parse.y there's a table of keywords. The comment says that I keyword cannot be added by hand, instead the program "perfect-hash" must be used? Where is this program? Does anyone understand this comment? The function "grokdeclarator" in c-decl.c is also really confusing to me. Peter -- Peter Ham PO Box 3430 (415) 321-5746 MS Computer Science Student Stanford, CA ham@polya.stanford.edu Stanford University 94309