ossp-pkg/l2/l2_spec_ebnf 1.1 -> 1.2
--- l2_spec_ebnf 2001/11/12 20:18:01 1.1
+++ l2_spec_ebnf 2001/11/14 13:59:21 1.2
@@ -1,39 +1,39 @@
tree : stream /* channel tree */
- ;
+ ;
stream : channel /* stream of channels */
- | channel T_OP_ARROW stream
- | channel T_OP_ARROW '{' streams '}'
- ;
+ | channel T_OP_ARROW stream
+ | channel T_OP_ARROW '{' streams '}'
+ ;
streams : stream /* list of sibling streams */
- | stream ';' streams
- ;
+ | stream ';' streams
+ ;
channel : channel_level '/' channel_level ':' channel_cons /* channel */
- | channel_level ':' channel_cons
- | channel_cons
- ;
+ | channel_level ':' channel_cons
+ | channel_cons
+ ;
channel_level : T_ID /* channel level */
- | '(' channel_level_mask ')'
- ;
+ | '(' channel_level_mask ')'
+ ;
channel_level_mask : T_ID /* channel level mask */
- | T_ID '|' channel_level_mask
- ;
+ | T_ID '|' channel_level_mask
+ ;
-channel_cons : T_ID /* channel constructor */
- ;
+channel_cons : T_ID channel_params /* channel constructor */
+ ;
channel_params : /* empty */ /* channel parameters */
- | '(' channel_param_list ')'
- ;
+ | '(' channel_param_list ')'
+ ;
channel_param_list : /* empty */ /* channel parameter list */
- | channel_param
- | channel_param ',' channel_param_list
- ;
+ | channel_param
+ | channel_param ',' channel_param_list
+ ;
-channel_param : T_ID '=' /* channel parameter */
- ;
+channel_param : T_ID '=' T_PARAM /* channel parameter */
+ ;
|
|