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



Hi again:

On Fri, May 24, 2002 at 06:28:02PM +0800, Hing-Wah Wan wrote:

| > <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>
| ORBit 2 is targeted at CORBA 2.4 instead of CORBA 2.6,
| where the way to declare a array is :
| 
| (83) <array_declarator> ::= <identifier> <fixed_array_size>+ 
| (84) <fixed_array_size> ::=  [  <positive_int_const>  ]
| 
| um..and also the C Language Mapping is not updated to reflect the new
| mapping of array for CORBA 2.6...

Exact! But... see... you can only reach it from within a 

typedef  <type-declarator>

So, I say again:
 
| > 	So, starting in a typedef is the only way of define a
| > (correctly-written) IDL.

(and add: IDL that defines an array).

	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]