Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!orchid!gamiddleton From: gamiddleton@orchid.UUCP Newsgroups: comp.bugs.misc Subject: Re: Lex/Yacc bug Message-ID: <7570@orchid.UUCP> Date: Thu, 14-May-87 15:53:03 EDT Article-I.D.: orchid.7570 Posted: Thu May 14 15:53:03 1987 Date-Received: Sat, 16-May-87 06:47:54 EDT References: <1987May13.014036.21651@sq.uucp> Reply-To: gamiddleton@orchid.UUCP (Guy Middleton) Organization: University of Waterloo Software Guerilla Army Lines: 18 Keywords: Ackkfft yacc lex In article <1987May13.014036.21651@sq.uucp> dave@sq.uucp (David R. Seaman) writes: > ... Lex busts when used with a token > defined in yacc as "p" "m" or "c". > > For example cut up the following. > > ********* yacc file (foo) ********** > %token p > %% > null : > ... Yes, lex uses dumb variable names. But try this: %token for %token return ... etc. Whole screens full of error messages.