Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: notesfiles Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!hao!hplabs!hp-pcd!hpgrla!davee From: davee@hpgrla.UUCP (davee) Newsgroups: net.lang.c Subject: Re: Orphaned Response Message-ID: <4000001@hpgrla.UUCP> Date: Thu, 24-Jan-85 02:28:00 EST Article-I.D.: hpgrla.4000001 Posted: Thu Jan 24 02:28:00 1985 Date-Received: Mon, 28-Jan-85 07:15:31 EST References: <-2098002300@cmu-cs-k.UUCP> Lines: 17 Nf-ID: #R:cmu-cs-k:-2098002300:hpgrla:4000001:37777777600:696 Nf-From: hpgrla!davee Jan 23 23:28:00 1985 /***** hpgrla:net.lang.c / cmu-cs-k!tim / 12:54 am Dec 11, 1984*/ Subject: Re: PCC and typedefs (why it barfs) The reason, incidentally, that PCC can't handle typedef identifiers properly is that they are recognized by the lexical analysis, not as identifiers, but as type keywords (like "int", etc.) /***/ It seems to me that in reading the recent ANSI C draft for the language, they are proposing doing exactly what you describe above. They have an entry in their YACC source for TYPEDEF instead of INDENTIFIER. This makes the YACC easier but may not do what people want for scoping. Refer to the YACC source posted to net.sources. Dave Ellis / HEWLETT-PACKARD hpda!hpfcla!hpgrla!davee