diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-25 22:18:58 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-25 22:18:58 +0000 |
commit | 7a5fe8ce23ac50450b804cf0183c773565ae7cef (patch) | |
tree | 220a38a6627619d1386897d42757a140b9de448f /java/src/parser.java | |
parent | 87b0987cad99cf45cd5d9e03cd1cefbaaec4ef2a (diff) | |
download | ATCD-ACE-4_4.tar.gz |
This commit was manufactured by cvs2svn to create branch 'ACE-4_4'.ACE-4_4
Diffstat (limited to 'java/src/parser.java')
-rw-r--r-- | java/src/parser.java | 623 |
1 files changed, 0 insertions, 623 deletions
diff --git a/java/src/parser.java b/java/src/parser.java deleted file mode 100644 index 214b2abef6b..00000000000 --- a/java/src/parser.java +++ /dev/null @@ -1,623 +0,0 @@ - -//---------------------------------------------------- -// The following code was generated by CUP v0.9e -// Sun Nov 09 13:56:12 CST 1997 -//---------------------------------------------------- - -package JACE.ServiceConfigurator; - -import java.io.*; -import java.lang.*; -import java_cup.runtime.*; -import JACE.ServiceConfigurator.*; -import JACE.OS.*; - -public class parser extends java_cup.runtime.lr_parser { - - /** constructor */ - public parser() {super();} - - /** production table */ - protected static final short _production_table[][] = { - {0, 2}, {9, 2}, {9, 1}, {8, 1}, {8, 1}, - {8, 1}, {8, 1}, {8, 1}, {8, 1}, {1, 3}, - {10, 3}, {3, 2}, {4, 2}, {5, 2}, {7, 3}, - {7, 3}, {17, 1}, {17, 1}, {11, 1}, {11, 2}, - {6, 2}, {6, 0}, {12, 1}, {12, 1}, {12, 1}, - {12, 1}, {12, 1}, {2, 4}, {13, 1}, {13, 1}, - {13, 0}, {14, 3}, {14, 5}, {18, 2}, {18, 2}, - {18, 2}, {16, 1}, {16, 0}, {15, 1}, {15, 1} - }; - - /** access to production table */ - public short[][] production_table() {return _production_table;} - - /** parse action table */ - protected static final short[][] _action_table = { - /*0*/{2,6,3,10,4,15,5,11,6,3,22,2,-1,0}, - /*1*/{2,6,3,10,14,47,-1,0}, - /*2*/{14,44,-1,0}, - /*3*/{0,-5,2,-5,3,-5,4,-5,5,-5,6,-5,22,-5,-1,0}, - /*4*/{0,-7,2,-7,3,-7,4,-7,5,-7,6,-7,22,-7,-1,0}, - /*5*/{14,24,-1,0}, - /*6*/{0,-3,2,6,3,10,4,15,5,11,6,3,22,2,-1,0}, - /*7*/{0,-9,2,-9,3,-9,4,-9,5,-9,6,-9,22,-9,-1,0}, - /*8*/{0,-6,2,-6,3,-6,4,-6,5,-6,6,-6,22,-6,-1,0}, - /*9*/{14,19,-1,0}, - /*10*/{14,18,-1,0}, - /*11*/{0,-8,2,-8,3,-8,4,-8,5,-8,6,-8,22,-8,-1,0}, - /*12*/{0,17,-1,0}, - /*13*/{0,-4,2,-4,3,-4,4,-4,5,-4,6,-4,22,-4,-1,0}, - /*14*/{14,16,-1,0}, - /*15*/{0,-12,2,-12,3,-12,4,-12,5,-12,6,-12,19,-12,22,-12,-1,0}, - /*16*/{0,-1,-1,0}, - /*17*/{0,-13,2,-13,3,-13,4,-13,5,-13,6,-13,19,-13,22,-13,-1,0}, - /*18*/{0,-38,2,-38,3,-38,4,-38,5,-38,6,-38,15,20,18,-38,19,-38,22,-38,-1,0}, - /*19*/{0,-37,2,-37,3,-37,4,-37,5,-37,6,-37,18,-37,19,-37,22,-37,-1,0}, - /*20*/{0,-11,2,-11,3,-11,4,-11,5,-11,6,-11,18,-11,19,-11,22,-11,-1,0}, - /*21*/{0,-2,-1,0}, - /*22*/{0,-38,2,-38,3,-38,4,-38,5,-38,6,-38,15,20,18,-38,19,-38,22,-38,-1,0}, - /*23*/{8,26,9,28,10,27,-1,0}, - /*24*/{13,32,14,35,-1,0}, - /*25*/{20,31,-1,0}, - /*26*/{20,30,-1,0}, - /*27*/{20,29,-1,0}, - /*28*/{13,-36,14,-36,-1,0}, - /*29*/{13,-35,14,-35,-1,0}, - /*30*/{13,-34,14,-34,-1,0}, - /*31*/{21,-39,-1,0}, - /*32*/{0,-31,2,-31,3,-31,4,-31,5,-31,6,-31,11,42,12,41,15,-31,18,-31,19,-31,22,-31,-1,0}, - /*33*/{21,36,-1,0}, - /*34*/{21,-40,-1,0}, - /*35*/{14,37,-1,0}, - /*36*/{0,-32,2,-32,3,-32,4,-32,5,-32,6,-32,11,-32,12,-32,15,-32,16,38,18,-32,19,-32,22,-32,-1,0}, - /*37*/{17,39,-1,0}, - /*38*/{0,-33,2,-33,3,-33,4,-33,5,-33,6,-33,11,-33,12,-33,15,-33,18,-33,19,-33,22,-33,-1,0}, - /*39*/{0,-28,2,-28,3,-28,4,-28,5,-28,6,-28,15,-28,18,-28,19,-28,22,-28,-1,0}, - /*40*/{0,-30,2,-30,3,-30,4,-30,5,-30,6,-30,15,-30,18,-30,19,-30,22,-30,-1,0}, - /*41*/{0,-29,2,-29,3,-29,4,-29,5,-29,6,-29,15,-29,18,-29,19,-29,22,-29,-1,0}, - /*42*/{0,-10,2,-10,3,-10,4,-10,5,-10,6,-10,18,-10,19,-10,22,-10,-1,0}, - /*43*/{0,-14,2,-14,3,-14,4,-14,5,-14,6,-14,19,-14,22,-14,-1,0}, - /*44*/{2,-18,3,-18,4,-18,5,-18,6,-18,18,-18,19,-18,-1,0}, - /*45*/{2,-22,3,-22,4,-22,5,-22,6,-22,18,50,19,-22,-1,0}, - /*46*/{2,-22,3,-22,4,-22,5,-22,6,-22,18,50,19,-22,-1,0}, - /*47*/{2,-17,3,-17,4,-17,5,-17,6,-17,18,-17,19,-17,-1,0}, - /*48*/{2,6,3,10,4,15,5,11,6,3,19,54,-1,0}, - /*49*/{0,-19,2,-19,3,-19,4,-19,5,-19,6,-19,22,-19,-1,0}, - /*50*/{0,-16,2,-16,3,-16,4,-16,5,-16,6,-16,22,-16,-1,0}, - /*51*/{2,-21,3,-21,4,-21,5,-21,6,-21,19,-21,-1,0}, - /*52*/{2,-24,3,-24,4,-24,5,-24,6,-24,19,-24,-1,0}, - /*53*/{0,-20,2,-20,3,-20,4,-20,5,-20,6,-20,22,-20,-1,0}, - /*54*/{2,-26,3,-26,4,-26,5,-26,6,-26,19,-26,-1,0}, - /*55*/{2,-25,3,-25,4,-25,5,-25,6,-25,19,-25,-1,0}, - /*56*/{2,-27,3,-27,4,-27,5,-27,6,-27,19,-27,-1,0}, - /*57*/{2,-23,3,-23,4,-23,5,-23,6,-23,19,-23,-1,0}, - /*58*/{0,-15,2,-15,3,-15,4,-15,5,-15,6,-15,22,-15,-1,0}, - }; - - /** access to parse action table */ - public short[][] action_table() {return _action_table;} - - /** reduce_goto table */ - protected static final short[][] _reduce_table = { - /*0*/{1,13,3,8,4,4,5,11,7,7,8,6,9,12,10,3,-1,-1}, - /*1*/{1,47,10,44,17,45,-1,-1}, - /*2*/{-1,-1}, - /*3*/{-1,-1}, - /*4*/{-1,-1}, - /*5*/{2,22,-1,-1}, - /*6*/{1,13,3,8,4,4,5,11,7,7,8,6,9,21,10,3,-1,-1}, - /*7*/{-1,-1}, - /*8*/{-1,-1}, - /*9*/{-1,-1}, - /*10*/{-1,-1}, - /*11*/{-1,-1}, - /*12*/{-1,-1}, - /*13*/{-1,-1}, - /*14*/{-1,-1}, - /*15*/{-1,-1}, - /*16*/{-1,-1}, - /*17*/{-1,-1}, - /*18*/{16,20,-1,-1}, - /*19*/{-1,-1}, - /*20*/{-1,-1}, - /*21*/{-1,-1}, - /*22*/{16,42,-1,-1}, - /*23*/{18,24,-1,-1}, - /*24*/{14,32,15,33,-1,-1}, - /*25*/{-1,-1}, - /*26*/{-1,-1}, - /*27*/{-1,-1}, - /*28*/{-1,-1}, - /*29*/{-1,-1}, - /*30*/{-1,-1}, - /*31*/{-1,-1}, - /*32*/{13,39,-1,-1}, - /*33*/{-1,-1}, - /*34*/{-1,-1}, - /*35*/{-1,-1}, - /*36*/{-1,-1}, - /*37*/{-1,-1}, - /*38*/{-1,-1}, - /*39*/{-1,-1}, - /*40*/{-1,-1}, - /*41*/{-1,-1}, - /*42*/{-1,-1}, - /*43*/{-1,-1}, - /*44*/{-1,-1}, - /*45*/{6,48,11,58,-1,-1}, - /*46*/{6,48,11,50,-1,-1}, - /*47*/{-1,-1}, - /*48*/{1,57,3,55,4,54,5,56,10,52,12,51,-1,-1}, - /*49*/{-1,-1}, - /*50*/{-1,-1}, - /*51*/{-1,-1}, - /*52*/{-1,-1}, - /*53*/{-1,-1}, - /*54*/{-1,-1}, - /*55*/{-1,-1}, - /*56*/{-1,-1}, - /*57*/{-1,-1}, - /*58*/{-1,-1}, - }; - - /** access to reduce_goto table */ - public short[][] reduce_table() {return _reduce_table;} - - /** instance of action encapsulation class */ - protected CUP$actions action_obj; - - /** action encapsulation object initializer */ - protected void init_actions() - { - action_obj = new CUP$actions(); - } - - /** invoke a user supplied parse action */ - public java_cup.runtime.symbol do_action( - int act_num, - java_cup.runtime.lr_parser parser, - java.util.Stack stack, - int top) - throws java.lang.Exception - { - /* call code in generated class */ - return action_obj.CUP$do_action(act_num, parser, stack, top); - } - - /** start state */ - public int start_state() {return 0;} - /** start production */ - public int start_production() {return 0;} - - /** EOF symbol index */ - public int EOF_sym() {return 0;} - - /** error symbol index */ - public int error_sym() {return 1;} - - - /** user initialization */ - public void user_init() throws java.lang.Exception - { - - try { - - FileInputStream fs = new FileInputStream(new String(ServiceConfig.serviceConfigFile_)); - - this.setLexer(new Yylex(fs)); - - } catch (FileNotFoundException fnf) { - - ACE.ERROR("File not found: " + fnf); - - } catch (SecurityException se) { - - ACE.ERROR("Security: " + se); - } - - } - - /** scan to get the next token */ - public java_cup.runtime.token scan() - throws java.lang.Exception - { - return this.lexer_.yylex(); - } - - - // Lexical Analyzer - private Yylex lexer_; - - public void setLexer(Yylex lexer) - { - this.lexer_ = lexer; - } - -}; - -/** Cup generated class to encapsulate user supplied action code.*/ -class CUP$actions { - - /** Constructor */ - CUP$actions() { } - - /** Method with the actual generated action code. */ - public final java_cup.runtime.symbol CUP$do_action( - int CUP$act_num, - java_cup.runtime.lr_parser CUP$parser, - java.util.Stack CUP$stack, - int CUP$top) - throws java.lang.Exception - { - /* object for return from actions */ - java_cup.runtime.symbol CUP$result; - - /* select the action based on the action number */ - switch (CUP$act_num) - { - /*. . . . . . . . . . . . . . . . . . . .*/ - case 39: // pathname ::= ACE_IDENT - { - CUP$result = new java_cup.runtime.str_token(/*pathname*/15); - ((java_cup.runtime.str_token)CUP$result).str_val = new String((/*e*/(str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 38: // pathname ::= ACE_PATHNAME - { - CUP$result = new java_cup.runtime.str_token(/*pathname*/15); - ((java_cup.runtime.str_token)CUP$result).str_val = new String((/*e*/(str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 37: // parameters_opt ::= - { - CUP$result = new java_cup.runtime.str_token(/*parameters_opt*/16); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 36: // parameters_opt ::= ACE_STRING - { - CUP$result = new java_cup.runtime.str_token(/*parameters_opt*/16); - ((java_cup.runtime.str_token)CUP$result).str_val = new String((/*e*/(str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 35: // type ::= ACE_STREAM_T ACE_STAR - { - CUP$result = new java_cup.runtime.str_token(/*type*/18); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 34: // type ::= ACE_SVC_OBJ_T ACE_STAR - { - CUP$result = new java_cup.runtime.str_token(/*type*/18); - ((java_cup.runtime.str_token)CUP$result).str_val = new String("Service Object"); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 33: // type ::= ACE_MODULE_T ACE_STAR - { - CUP$result = new java_cup.runtime.str_token(/*type*/18); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 32: // svc_initializer ::= pathname ACE_COLON ACE_IDENT ACE_LPAREN ACE_RPAREN - { - CUP$result = new java_cup.runtime.str_token(/*svc_initializer*/14); - ((java_cup.runtime.str_token)CUP$result).str_val = new String((/*e1*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-4)).str_val + ":" + (/*e2*/(str_token)CUP$stack.elementAt(CUP$top-2)).str_val); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 31: // svc_initializer ::= pathname ACE_COLON ACE_IDENT - { - CUP$result = new java_cup.runtime.str_token(/*svc_initializer*/14); - ((java_cup.runtime.str_token)CUP$result).str_val = new String((/*e1*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-2)).str_val + ":" + (/*e2*/(str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 30: // status ::= - { - CUP$result = new java_cup.runtime.int_token(/*status*/13); - // Default case - ((java_cup.runtime.int_token)CUP$result).int_val = 0; - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 29: // status ::= ACE_INACTIVE - { - CUP$result = new java_cup.runtime.int_token(/*status*/13); - ((java_cup.runtime.int_token)CUP$result).int_val = 1; - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 28: // status ::= ACE_ACTIVE - { - CUP$result = new java_cup.runtime.int_token(/*status*/13); - ((java_cup.runtime.int_token)CUP$result).int_val = 0; - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 27: // svc_location ::= ACE_IDENT type svc_initializer status - { - CUP$result = new AddServiceObjectNode(/*svc_location*/2); - - boolean suspended = false; - if ((/*e4*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-0)).int_val == 1) - suspended = true; - - ((AddServiceObjectNode)CUP$result).init((/*e1*/(str_token)CUP$stack.elementAt(CUP$top-3)).str_val, (/*e3*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val, suspended); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 26: // module ::= remove - { - CUP$result = new java_cup.runtime.str_token(/*module*/12); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 25: // module ::= resume - { - CUP$result = new java_cup.runtime.str_token(/*module*/12); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 24: // module ::= suspend - { - CUP$result = new java_cup.runtime.str_token(/*module*/12); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 23: // module ::= static - { - CUP$result = new java_cup.runtime.str_token(/*module*/12); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 22: // module ::= dynamic - { - CUP$result = new java_cup.runtime.str_token(/*module*/12); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 21: // module_list ::= - { - CUP$result = new ParseNode(/*module_list*/6); - ACE.ERROR("Not implemented: module manipulation"); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 20: // module_list ::= module_list module - { - CUP$result = new ParseNode(/*module_list*/6); - ACE.ERROR("Not implemented: module manipulation"); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 19: // stream_modules ::= module_list ACE_RBRACE - { - CUP$result = new java_cup.runtime.str_token(/*stream_modules*/11); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 18: // stream_modules ::= ACE_LBRACE - { - CUP$result = new java_cup.runtime.str_token(/*stream_modules*/11); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 17: // stream_ops ::= static - { - CUP$result = new java_cup.runtime.str_token(/*stream_ops*/17); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 16: // stream_ops ::= dynamic - { - CUP$result = new java_cup.runtime.str_token(/*stream_ops*/17); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 15: // stream ::= ACE_USTREAM ACE_IDENT stream_modules - { - CUP$result = new ParseNode(/*stream*/7); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 14: // stream ::= ACE_USTREAM stream_ops stream_modules - { - CUP$result = new ParseNode(/*stream*/7); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 13: // remove ::= ACE_REMOVE ACE_IDENT - { - CUP$result = new RemoveNode(/*remove*/5); - - ((RemoveNode)CUP$result).init((/*e1*/(str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 12: // resume ::= ACE_RESUME ACE_IDENT - { - CUP$result = new ResumeNode(/*resume*/4); - - ((ResumeNode)CUP$result).init((/*e1*/(str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 11: // suspend ::= ACE_SUSPEND ACE_IDENT - { - CUP$result = new SuspendNode(/*suspend*/3); - - ((SuspendNode)CUP$result).init((/*e1*/(str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 10: // static ::= ACE_STATIC ACE_IDENT parameters_opt - { - CUP$result = new ParseNode(/*static*/10); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 9: // dynamic ::= ACE_DYNAMIC svc_location parameters_opt - { - CUP$result = new AddServiceObjectNode(/*dynamic*/1); - - ((AddServiceObjectNode)CUP$result).init((/*e1*/(AddServiceObjectNode)CUP$stack.elementAt(CUP$top-1)).name(), (/*e1*/(AddServiceObjectNode)CUP$stack.elementAt(CUP$top-1)).locator(), (/*e1*/(AddServiceObjectNode)CUP$stack.elementAt(CUP$top-1)).suspended()); - - ((AddServiceObjectNode)CUP$result).params((/*e2*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 8: // svc_config_entry ::= stream - { - CUP$result = new ParseNode(/*svc_config_entry*/8); - ACE.ERROR("Not implemented: stream loading"); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 7: // svc_config_entry ::= remove - { - CUP$result = new ParseNode(/*svc_config_entry*/8); - - - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 6: // svc_config_entry ::= resume - { - CUP$result = new ParseNode(/*svc_config_entry*/8); - /* Empty -- result auto set to resume */ - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 5: // svc_config_entry ::= suspend - { - CUP$result = new ParseNode(/*svc_config_entry*/8); - - /* Empty -- result auto set to suspend */ - /* CUP$result = (ParseNode)CUP$stack.elementAt(CUP$top-0); */ - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 4: // svc_config_entry ::= static - { - CUP$result = new ParseNode(/*svc_config_entry*/8); - - /* More graceful error system needed here */ - ACE.ERROR("Not implemented: static service loading"); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 3: // svc_config_entry ::= dynamic - { - CUP$result = new ParseNode(/*svc_config_entry*/8); - - /* Empty -- result auto set to dynamic */ - /* CUP$result = (ParseNode)CUP$stack.elementAt(CUP$top-0); */ - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 2: // svc_config_entries ::= svc_config_entry - { - CUP$result = new ParseNode(/*svc_config_entries*/9); - - if ((/*e1*/(ParseNode)CUP$stack.elementAt(CUP$top-0)) != null) - (/*e1*/(ParseNode)CUP$stack.elementAt(CUP$top-0)).apply(); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 1: // svc_config_entries ::= svc_config_entry svc_config_entries - { - CUP$result = new ParseNode(/*svc_config_entries*/9); - - if ((/*e1*/(ParseNode)CUP$stack.elementAt(CUP$top-1)) != null) - (/*e1*/(ParseNode)CUP$stack.elementAt(CUP$top-1)).apply(); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 0: // $START ::= svc_config_entries EOF - { - CUP$result = new java_cup.runtime.token(/*$START*/0); - - } - /* ACCEPT */ - CUP$parser.done_parsing(); - return CUP$result; - - /* . . . . . .*/ - default: - throw new Exception( - "Invalid action number found in internal parse table"); - - } - } -}; - |