/*
  Copyright Dave Bone 1998 - 2014 
  All Rights Reserved. 
  No part of this document may be reproduced without written consent from the author.
	
FILE:		  subrule_vector.lex
Dates:		  23 Mar 2004
Purpose:	  subrule ->
Output:       "#->"
*/
/@
@i "/usr/local/yacco2/copyright.w"
@** |subrules_phrase| Thread.\fbreak
  Keyword that starts off defining the subrule.
@/
fsm	
(fsm-id	"subrule_vector.lex"
,fsm-filename subrule_vector
,fsm-namespace NS_subrule_vector
,fsm-class Csubrule_vector
,fsm-version "1.0",fsm-date "8 Jun 2004",fsm-debug "true"
,fsm-comments "Lexer of subrule begin operator: \\subrule.")
parallel-parser	
(	
  parallel-thread-function
    TH_subrule_vector
  ***
  parallel-la-boundary
    eolr
  ***
)
@"/usr/local/yacco2/compiler/grammars/yacco2_T_includes.T"

rules{
Rsubrule_vector (
  lhs {
    user-declaration
      public:
      CAbs_lr1_sym* rtn_sym_;
    ***
    op
      rtn_sym_->set_rc(*rule_info__.parser__->start_token__,__FILE__,__LINE__);
      RSVP(rtn_sym_);
    ***  
  }
){
  -> "-" ">"  {
    op 
      rtn_sym_ = new T_selector; 
    ***}
}
}// end of rules
