comp.lang.ada
 help / color / mirror / Atom feed
From: cef@h.gp.cs.cmu.edu (Charles Fineman)
Subject: Bug in SIMTEL20 Ada lexer
Date: 11 May 89 17:43:03 GMT	[thread overview]
Message-ID: <4975@pt.cs.cmu.edu> (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


-- 

                 reply	other threads:[~1989-05-11 17:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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