comp.lang.ada
 help / color / mirror / Atom feed
* Bug in SIMTEL20 Ada lexer
@ 1989-05-11 17:43 Charles Fineman
  0 siblings, 0 replies; only message in thread
From: Charles Fineman @ 1989-05-11 17:43 UTC (permalink / raw)


I believe I discovered a bug in the lexer I got from SIMTEL20.
The problem is with the recognition of the attribute selector.
The "IDENT" state is only entered after seeing an identifier or
a right paren. According to the Ada specification, the attribute 
selector must be applicable to any component of a structure. This 
means that a quote must be able to follow a string constant or
the keyword "ALL" as well. I just had those actions do a 
"BEGIN IDENT" instead of the "BEGIN Z" that's there now.

Do any of you see a problem with this?

	Chuck Fineman


-- 

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

only message in thread, other threads:[~1989-05-11 17:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1989-05-11 17:43 Bug in SIMTEL20 Ada lexer Charles Fineman

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