Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: Notesfiles; site gypsy.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!siemens!gypsy!emery
From: emery@gypsy.UUCP
Newsgroups: net.lang.ada
Subject: Bug in Ada LEX file
Message-ID: <38000020@gypsy.UUCP>
Date: Mon, 19-Aug-85 17:09:00 EDT
Article-I.D.: gypsy.38000020
Posted: Mon Aug 19 17:09:00 1985
Date-Received: Tue, 20-Aug-85 22:28:34 EDT
Lines: 24
Nf-ID: #N:gypsy:38000020:000:662
Nf-From: gypsy!emery    Aug 19 17:09:00 1985



There appears to be a bug in the Lexfile for the original
Ada yacc grammar, that has appeared in net.sources, and is on
SIMTEL-20.  

It seems to choke on the following:

	path_length := retrieved_name_ptr.all'length;

as it recognizes attributes (signified by the "'") only after an
identifier.  In all other cases, it is looking for another "'" to
close a character literal.  

One quick fix would be to change the reserved word "all", to enter
the IDENT state....

Has anyone else noticed this?  How about the Bell Labs folks, are you
using this Lexfile?

				Dave Emery
				Siemens Research
uucp:		   ...princeton!siemens!emery
arpa:				siemens!emery@topaz