public virtual void DefineRuleListLabel( string ruleName, IToken label, GrammarAST element ) { Rule r = GetLocallyDefinedRule( ruleName ); if ( r != null ) { if ( !r.HasMultipleReturnValues ) { ErrorManager.GrammarError( ErrorManager.MSG_LIST_LABEL_INVALID_UNLESS_RETVAL_STRUCT, this, label, label.Text ); } DefineLabel( r, label, element, LabelType.RuleList ); } }