Re: orbit-idl-2 ... Anyone?



Hi!

On Fri, May 24, 2002 at 06:37:29AM +0800, Hing-Wah Wan wrote:

| It should be legal and it work for me ,I'm using  2.3.110 though

It is *not* legal, and if orbit-idl compiles this is broken unless it
recognizes that is Pseudo-IDL. Please, take a look at the links that
were posted just today to this list to the lattest CORBA 2.6.1 spec. In
it, it is stated that (BNF):

<type_dcl> ::=  typedef  <type_declarator> 
	| <struct_type> 
	| <union_type> 
	| <enum_type> 
	|  native  <simple_declarator> 
	| <constr_forward_decl>

and 

<type_declarator> ::= <type_spec> <declarators>
<type_spec> ::= <simple_type_spec> | <constr_type_spec>

and

<declarators> ::= <declarator> {  ,  <declarator> }*
<declarator> ::= <simple_declarator>
	| <complex_declarator>

and

<complex_declarator> ::= <array_declarator>


	So, starting in a typedef is the only way of define a
(correctly-written) IDL.

	Best regards.
	diego.

-- 
Diego Sevilla Ruiz  http://ditec.um.es/~dsevilla  dsevilla@um.es  \    /\
Dpto. Ingeniería y Tecnología de Computadores http://ditec.um.es   )  ( ')
Visiting Extreme! Computing Lab       http://extreme.indiana.edu  (  /  )
Indiana University, Bloomington               http://www.iub.edu   \(__)|



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]