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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ace3fca092a457cd X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: To := Grein, Christoph (Fa. ESG) Reply-To: anon@anon.org (anon) References: X-Newsreader: IBM NewsReader/2 2.0 Message-ID: Date: Wed, 01 Aug 2007 06:46:46 GMT NNTP-Posting-Host: 12.64.18.203 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1185950806 12.64.18.203 (Wed, 01 Aug 2007 06:46:46 GMT) NNTP-Posting-Date: Wed, 01 Aug 2007 06:46:46 GMT Organization: AT&T Worldnet Xref: g2news2.google.com comp.lang.ada:1308 Date: 2007-08-01T06:46:46+00:00 List-Id: Even though I made a mistake about the parentheses. My BNF reading was correct. I did cut the BNF definitions to valid statements and opions only. So, you need to reread my post. I said: Ada LRM 4.4 ( 7 ) => primary ::= numeric_literal | .. | (expression) +Right => is defined as an expression -7 => is defined as an expression -- ---------------------------- -- -- For other statements see other post -- -- ---------------------------- -- Ada LRM 4.4 ( 7 ) => primary ::= numeric_literal | string_literal Right => string_literal 7 => numeric_literal So, where did I claim that "+Right" was a numeric literal? I do not see that. I define the "+Right" as an expression and then later define "Right" as a string_literal. which is correct except that the expression definition requires parentheses. In , "Grein, Christoph (Fa. ESG)" writes: >Oh anon boy, no need to shout! Better learn to read BNF. > >> That Denote This is a GNAT COMPILER ERROR! > > +Left & +Right; > >simple_expression ::= [unary_adding_operator] > term > {binary_adding_operator term} > > + => is the unary, > Left => is a Term, > & => binary_adding_operator > +Right => So this must be a term to make the thing legal > >term ::= factor {multiplying_operator factor} > >So +Right must be a factor > >factor ::= primary > >So +Right must be a primary > >primary ::= numeric_literal | (expression) > >So you claim +Right is a numeric literal - interesting > > >Eurocopter Deutschland GmbH >Sitz der Gesellschaft/Registered Office: Donauwoerth >Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508 >Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling >Geschaeftsfuehrung/Board of Management: >Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt > >CONFIDENTIALITY NOTICE > >This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful. >If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much. >It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message. >