From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_05,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 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 Nf-ID: #N:gypsy:38000020:000:662 Nf-From: gypsy!emery Aug 19 17:09:00 1985 List-Id: 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