🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.misc
Article #77

Re: Lex/Yacc bug

#77
From: gamiddleton
Date: Thu, 14 May 1987 19:53
18 lines
980 bytes
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.
Technical Details
Message-ID: <7570@orchid.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!orchid!gamiddleton
References: <1987May13.014036.21651@sq.uucp>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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