comp.lang.ada
 help / color / mirror / Atom feed
* Bug in Ada LEX file
@ 1985-08-19 21:09 emery
  0 siblings, 0 replies; only message in thread
From: emery @ 1985-08-19 21:09 UTC (permalink / raw)




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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1985-08-19 21:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1985-08-19 21:09 Bug in Ada LEX file emery

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox