comp.lang.ada
 help / color / mirror / Atom feed
From: anon@anon.org (anon)
Subject: To := Grein, Christoph (Fa. ESG)
Date: Wed, 01 Aug 2007 06:46:46 GMT
Date: 2007-08-01T06:46:46+00:00	[thread overview]
Message-ID: <q%Vri.13163$ax1.1775@bgtnsc05-news.ops.worldnet.att.net> (raw)
In-Reply-To: mailman.15.1185946484.3834.comp.lang.ada@ada-france.org

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 <mailman.15.1185946484.3834.comp.lang.ada@ada-france.org>, "Grein, Christoph (Fa. ESG)" <Christoph.Grein@eurocopter.com> 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. 
>




  reply	other threads:[~2007-08-01  6:46 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-30 22:52 Unary operator after binary operator: legal or not? Jeffrey R. Carter
2007-07-30 23:39 ` Markus E.L.
2007-07-31  0:22 ` Adam Beneschan
2007-07-31 21:52   ` Jeffrey R. Carter
2007-07-31  8:01 ` anon
2007-07-31  8:16   ` Unary operator after binary operator: legal or not? => Compiler Error anon
2007-07-31  8:38     ` AW: Unary operator after binary operator: legal or not? => CompilerError Grein, Christoph (Fa. ESG)
2007-07-31 15:05     ` Unary operator after binary operator: legal or not? => Compiler Error Robert A Duff
2007-07-31 15:39       ` Dmitry A. Kazakov
2007-07-31 15:53         ` Robert A Duff
2007-07-31 17:02           ` Georg Bauhaus
2007-07-31 19:17             ` Adam Beneschan
2007-08-01  7:16               ` Maciej Sobczak
2007-08-01 15:23                 ` Adam Beneschan
2007-07-31 20:59             ` Robert A Duff
2007-08-01  7:24               ` Georg Bauhaus
2007-08-01  8:02                 ` Dmitry A. Kazakov
2007-08-01  8:17                   ` AW: Unary operator after binary operator: legal or not? => CompilerError Grein, Christoph (Fa. ESG)
2007-08-01 10:10                     ` Ian Clifton
2007-08-01  9:34                   ` Unary operator after binary operator: legal or not? => Compiler Error Georg Bauhaus
2007-08-01 21:51                 ` Jeffrey R. Carter
2007-07-31 17:52           ` Dmitry A. Kazakov
2007-08-02 20:44           ` Charles Lindsey
2007-08-03  7:48             ` Stuart
2007-08-03  7:51             ` Dmitry A. Kazakov
2007-07-31 23:22     ` anon
2007-08-01  0:13       ` Adam Beneschan
2007-08-01  6:20         ` Unary operator after binary operator: legal or not? => Illegal anon
2007-08-01  5:34       ` AW: Unary operator after binary operator: legal or not? => CompilerError Grein, Christoph (Fa. ESG)
2007-08-01  6:46         ` anon [this message]
2007-08-01  7:11           ` AW: To := Grein, Christoph (Fa. ESG) Grein, Christoph (Fa. ESG)
2007-08-02  6:52             ` anon
2007-08-02  8:56               ` AW: " Grein, Christoph (Fa. ESG)
2007-08-02 22:29                 ` Markus E.L. 2
2007-08-02 23:02                   ` tmoran
2007-08-02 23:11                     ` Ed Falis
2007-08-02 23:34                     ` Markus E.L. 2
2007-08-03  4:42                   ` AW: " Grein, Christoph (Fa. ESG)
2007-08-02 22:28               ` Markus E.L. 2
replies disabled

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