absyntax/absyntax.def
changeset 909 8b2a31dea131
parent 876 e2c4f6f4abe2
child 919 8da635655f37
equal deleted inserted replaced
908:9e8e1ba5ca46 909:8b2a31dea131
   333 SYM_REF2(enumerated_value_c, type, value)
   333 SYM_REF2(enumerated_value_c, type, value)
   334 
   334 
   335 /*  identifier ':' array_spec_init */
   335 /*  identifier ':' array_spec_init */
   336 SYM_REF2(array_type_declaration_c, identifier, array_spec_init)
   336 SYM_REF2(array_type_declaration_c, identifier, array_spec_init)
   337 
   337 
   338 /* array_specification [ASSIGN array_initialization} */
   338 /* array_specification [ASSIGN array_initialization] */
   339 /* array_initialization may be NULL ! */
   339 /* array_initialization may be NULL ! */
   340 SYM_REF2(array_spec_init_c, array_specification, array_initialization)
   340 SYM_REF2(array_spec_init_c, array_specification, array_initialization)
   341 
   341 
   342 /* ARRAY '[' array_subrange_list ']' OF non_generic_type_name */
   342 /* ARRAY '[' array_subrange_list ']' OF non_generic_type_name */
   343 SYM_REF2(array_specification_c, array_subrange_list, non_generic_type_name)
   343 SYM_REF2(array_specification_c, array_subrange_list, non_generic_type_name)
   479  * Ref_Addr       : 'REF' '(' (Symbolic_Variable | FB_Name | Class_Instance_Name ) ')' ;
   479  * Ref_Addr       : 'REF' '(' (Symbolic_Variable | FB_Name | Class_Instance_Name ) ')' ;
   480  * Ref_Assign     : Ref_Name ':=' (Ref_Name | Ref_Deref | Ref_Value ) ;
   480  * Ref_Assign     : Ref_Name ':=' (Ref_Name | Ref_Deref | Ref_Value ) ;
   481  * Ref_Deref      : 'DREF' '(' Ref_Name ')' ;
   481  * Ref_Deref      : 'DREF' '(' Ref_Name ')' ;
   482  */
   482  */
   483 
   483 
   484 /* ref_spec:  REF_TO (non_generic_type_name | function_block_type_name) */
   484 /* REF_TO (non_generic_type_name | function_block_type_name) */
   485 SYM_REF1(ref_spec_c, type_name)
   485 SYM_REF1(ref_spec_c, type_name)
   486 
   486 
   487 /* For the moment, we do not support initialising reference data types */
   487 /* ref_spec [ ASSIGN ref_initialization ]; */
   488 /* ref_spec_init: ref_spec; */ 
   488 /* NOTE: ref_initialization may be NULL!!  */
   489 /* SYM_REF0(ref_spec_init_c) */
   489 SYM_REF2(ref_spec_init_c, ref_spec, ref_initialization)
   490 
   490 
   491 /* ref_type_decl: identifier ':' ref_spec_init */
   491 /* identifier ':' ref_spec_init */
   492 SYM_REF2(ref_type_decl_c, ref_type_name, ref_spec_init)
   492 SYM_REF2(ref_type_decl_c, ref_type_name, ref_spec_init)
   493 
   493 
   494 
   494 
   495 /*********************/
   495 /*********************/
   496 /* B 1.4 - Variables */
   496 /* B 1.4 - Variables */