Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 (Tek) 9/28/84 based on 9/17/84; site tekig1.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!tekig1!dont From: dont@tekig1.UUCP (Don Taylor) Newsgroups: net.lang.c Subject: Re: Grammar for C Message-ID: <1907@tekig1.UUCP> Date: Wed, 1-May-85 00:11:21 EDT Article-I.D.: tekig1.1907 Posted: Wed May 1 00:11:21 1985 Date-Received: Fri, 3-May-85 04:00:37 EDT Organization: Tektronix, Beaverton OR Lines: 23 There are a handful of typo's in the lalr(1) grammar in appendix c of "A C Reference Manual" by Harbison and Steele (Prentice-Hall). A letter to them resulted in a prompt reply from Mr. Harbison, and I quote ------------ -Change all occurances of "..._ctype>" to "..._type>". -Remove definitions of "<008>" and ""; they are not needed. -"" should be "". In addition, if you have the first printing of the book, the production ::= ( ) should be ::= ( ) You should also know that this grammar does not accomodate C's "old" form of initializers and compound assignments. ------------ I hope this saves someone else a little confusion Don Taylor Tektronix Inc.