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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3b05f12bd7a2a871 X-Google-Attributes: gid103376,public From: Dr Steve Sangwine Subject: Re: Lexical Conundrum Date: 1998/02/26 Message-ID: <34F57423.62EF622D@Reading.ac.uk>#1/1 X-Deja-AN: 328856503 Content-Transfer-Encoding: 7bit References: <01bd3d80$101287c0$LocalHost@xhv46.dial.pipex.com> Mime-Version: 1.0 Reply-To: S.J.Sangwine@Reading.ac.uk Content-Type: text/plain; charset=us-ascii Organization: The University of Reading Newsgroups: comp.lang.ada Date: 1998-02-26T00:00:00+00:00 List-Id: Robert Dewar wrote: >I am puzzled. 2.2(7) says >7 One or more separators are allowed between any two adjacent lexical >elements, before the first of each compilation, or after the last. At least >one separator is required between an identifier, a reserved word, or a >numeric_literal and an adjacent identifier, reserved word, or numeric_ >literal. Robert Duff's point is that the separators are allowed but not required. 2.2(7) explains where the separators are needed such as or X in where X is an identifier and orXin would be interpreted as something else. But it doesn't say (explicitly) that you don't need separators for or 'A' in As an Ada user since 1986 (not involved with compilers) it had never occurred to me to leave the separators out. Thanks for an interesting discussion. ----------------- Dr S. J. Sangwine Department of Engineering The University of Reading Whiteknights, Reading RG6 6AY, UK Email: S.J.Sangwine@Reading.ac.uk Tel: 0118 931 8584 (+44 118 931 8584 outside UK) Fax: 0118 931 3327 Web: http://www.elec.rdg.ac.uk/~stssjs/sjs.html