/* A lexical scanner generated by flex */ /* Scanner skeleton version: * $Header: /db0/home/nsl/www.export/protected/NS/cvsroot/pp/src/jbf/yylex.template,v 1.2 1997/03/28 02:06:50 aalx Exp $ */ /* * Copyright (c) 1996 Dennis Heimbigner. email dennis@cs.colorado.edu */ /**************************************************/ /**************************************************/ /**************************************************/ // PREFIX /* SCCS - @(#)alpha.lex 1.18 - 09/15/99 - 10:39:54 */ /* * SCCS @(#)alpha.lex 1.12 - 08/05/99 - 15:01:14 * * $Log: alpha.lex,v $ * * 98/9/28 sn: added \r to NONNEWLINE_WHITE_SPACE_CHAR list because * PC's add an extra \r to newlines * * Revision 1.6 1998/01/30 20:02:58 erhan * ver 5 * * Revision 1.5 1997/12/13 01:30:31 erhan * aa - commited files for erhan. erhan will comment when he comes back * * Revision 1.4 1997/11/06 03:21:55 erhan * NSL3.0.b * * Revision 1.3 1997/07/30 21:10:33 erhan * nsl3.0 * * Revision 1.2 1997/06/13 22:46:57 erhan * 'NslMain takes model name as a parameter, npp:verbatim_on verbatim_off semi-column stuff, NslModule: method to setup display variables ' * * Revision 1.1.1.1 1997/03/12 23:09:23 nsl * changed dir struct * * Revision 1.1.1.1 1997/02/20 08:04:35 nsl * Importng npp * */ package npp.src; import java.lang.System; import java.io.*; import java.util.*; import npp.src.util.*; import pp.src.jbf.*; class Utility { public static void assert ( boolean expr ) { if (false == expr) { throw (new Error("Error: Assertion failed.")); } } private static final String errorMsg[] = { "Error: Unmatched end-of-comment punctuation.", "Error: Unmatched start-of-comment punctuation.", "Error: Unclosed string.", "Error: Illegal character." }; public static final int E_ENDCOMMENT = 0; public static final int E_STARTCOMMENT = 1; public static final int E_UNCLOSEDSTR = 2; public static final int E_UNMATCHED = 3; public static void error ( int code ) { System.out.println(errorMsg[code]); } } //{COMMENT_TEXT} { } /**************************************************/ public class YYlex { // Set up the fake goto mechanism protected int Goto; protected static final int yynobranch = 0; protected static final int yy_find_action = 1; protected static final int yy_match = 2; protected static final int do_action = 3; // CONSTANTS public static final int YY_FLEX_MAJOR_VERSION = 2; public static final int YY_FLEX_MINOR_VERSION = 5; public static final int YY_NULL = 0; public static final int YY_MORE_ADJ = 0; public static final int YY_END_OF_BUFFER_CHAR = 0; public static final int YY_BUF_SIZE = 16384; public static final int YY_READ_BUF_SIZE = 8192; public static final int EOB_ACT_CONTINUE_SCAN = 0; public static final int EOB_ACT_END_OF_FILE = 1; public static final int EOB_ACT_LAST_MATCH = 2; public static final int YY_START_STACK_INCR = 25; public static final int YY_BUFFER_NEW = 0; public static final int YY_BUFFER_NORMAL = 1; public static final int YY_BUFFER_EOF_PENDING = 2; public static final int YY_NUM_RULES = 179; public static final int YY_END_OF_BUFFER = 180; public static final int YY_SPECIAL = 971; // STATES public static final int INITIAL = 0; public static final int COMMENT = 1; public static final int VERB_ON = 2; public static final int VERB_SCAN = 3; public static final int VERB_IGN = 4; // MISC. protected static final int EOF = -1; // Class State Int_Stack yy_start_stack; java.io.InputStream yyin; java.io.PrintStream yyout; int yy_start; /* start state number */ int yy_last_accepting_state; int yy_last_accepting_cpos; YYtoken yylval; YYtoken yylvalundef; protected StringBuffer lexeme; YYlexbuffer yytext; public int yydebug; boolean yy_at_bol; boolean is_interactive; int yy_current_state; int yy_act; // PROCS public YYlex(java.io.InputStream fin) {this(fin,System.out);} public YYlex() {this(System.in,System.out);} public YYlex(java.io.InputStream fin, java.io.PrintStream fout) { yyin = fin; yyout = fout; yy_start_stack = new Int_Stack(); yy_start = 1; /* start state number */ yy_last_accepting_state = 0; yy_last_accepting_cpos = 0; yy_current_state = 0; yy_act = 0; yy_at_bol = true; //pretend is_interactive= false; yylval = null; yylvalundef = new YYtoken(0); yydebug = 0; yytext = new YYlexbuffer(yyin,yyout); lexeme = new StringBuffer(); } public YYtoken yylex() throws LexException, IOException, EmptyStackException { yytext.purge(); scanloop: while( true ) { /* loops until end-of-file is reached */ yytext.mark(); int thisch = yytext.nextchar(); if(thisch == EOF) thisch = YY_END_OF_BUFFER_CHAR; branch: switch (Goto) { case yynobranch: yy_current_state = yy_start; yy_current_state += YY_AT_BOL(); //<< //yy_match: do { ///**/yyout.println("(1)yy_current_state=" + yy_current_state); int yy_c; // yy_c = yy_ec[YY_SC_TO_UI(thisch)]; yy_c = yy_ec[thisch]; ///**/yyout.println("(1)yy_c=" + yy_c); ///**/yyout.println("(1)yy_accept[yy_current_state]=" + yy_accept[yy_current_state]); if ( yy_accept[yy_current_state] != 0) { yy_last_accepting_cpos = yytext.currentpos(); yy_last_accepting_state = yy_current_state; ///**/yyout.println("(1)yy_last_accepting_state=" + yy_last_accepting_state); ///**/yyout.println("(1)yy_last_accepting_cpos=" + yy_last_accepting_cpos); } while (yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state) { ///**/yyout.println("(2)yy_chk[yy_base[yy_current_state]+yy_c]="+yy_chk[yy_base[yy_current_state] + yy_c]); yy_current_state = (int) yy_def[yy_current_state]; ///**/yyout.println("(2)yy_current_state=" + yy_current_state); if ( yy_current_state >= yy_accept.length ) { yy_c = yy_meta[yy_c]; ///**/yyout.println("(2)yy_c=" + yy_c); } } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; ///**/yyout.println("(3)yy_current_state=" + yy_current_state); ///**/yyout.println("yy_at_bol=" + yy_at_bol); yy_at_bol = (thisch == '\n'); thisch = yytext.nextchar(); if(thisch == EOF) thisch = YY_END_OF_BUFFER_CHAR; } while ( yy_base[yy_current_state] != YY_SPECIAL ); case yy_find_action: yy_act = yy_accept[yy_current_state]; ///**/yyout.println("(4)yy_act=" + yy_act); if ( yy_act == 0 ) { /* have to back up to last accepting state*/ do { yytext.backup(); } while(yytext.currentpos() >= yy_last_accepting_cpos); thisch = yytext.nextchar(); ///**/yyout.print("backup:"+" yyline="+yyline()+" ; yychar="+yychar0()+" ; yylinechar="+yychar()+" ; yytext=/"+yytext.contents()+"/"); yy_current_state = yy_last_accepting_state; yy_act = yy_accept[yy_current_state]; ///**/yyout.println("(5)yy_current_state=" + yy_current_state); ///**/yyout.println("(5)yy_act=" + yy_act); } // YY_DO_BEFORE_ACTION; case do_action: /* This label is used only to access EOF actions. */ yy_at_bol = (yytext.yychar0() == 0); yylval = yylvalundef; yytext.backup(); ///**/yyout.println("(6)yy_act=" + yy_act); ///**/yyout.println("(6)yytext=/" + yytext.contents() + "/"); ///**/yyout.println("(6)yy_at_bol=" + yy_at_bol); ///**/yyout.println("yytext.lexeme=/" + yytext.lexeme() + "/"); switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* have to back up to last accepting state*/ do { yytext.backup(); } while(yytext.currentpos() > yy_last_accepting_cpos); thisch = yytext.nextchar(); ///**/yyout.print("backup:"+" yyline="+yyline()+" ; yychar="+yychar0()+" ; yylinechar="+yychar()+" ; yytext=/"+yytext.contents()+"/"); yy_current_state = yy_last_accepting_state; {Goto = yy_find_action; break branch;} // ACTIONS case 1: ; break; case 2: ; break; case 3: { yybegin(COMMENT); comment_count = comment_count + 1; } break; case 4: { comment_count = comment_count + 1; } break; case 5: { comment_count = comment_count - 1; Utility.assert(comment_count >= 0); if (comment_count == 0) { yybegin(INITIAL); } } break; case 6: { } break; case 7: { } break; case 8: { // Utility.assert(str.length() == lexeme().length() - 2); yyreturn((YYtoken)(new String_Token(YYtokentypes.STRING_LITERAL,yytext))); } break; case 9: { // Utility.error(Utility.E_UNCLOSEDSTR); //Utility.assert(str.length() == lexeme().length() - 1); yyreturn((YYtoken)(new String_Token(YYtokentypes.STRING_LITERAL,yytext))); } break; case 10: { /* String str; if (lexeme().endsWith("f") || lexeme().endsWith("F")) { str = lexeme().substring(0,lexeme().length()-1); Utility.assert(str.length() == lexeme().length() - 1); } else str = lexeme(); */ Float_Token t = new Float_Token(YYtokentypes.FLOAT_LITERAL,yytext); /* try { t.m_float = java.lang.Float.valueOf(str).floatValue(); } catch (NumberFormatException e) { System.err.println("Unexpected integer number parse error at line:" +yyline+" char:"+yychar()+" to "+(yychar() + str.length())); } */ yyreturn ((YYtoken)t); } break; case 11: { /* String str; if (lexeme().endsWith("d") || lexeme().endsWith("D")) { str = lexeme().substring(0,lexeme().length()-1); Utility.assert(str.length() == lexeme().length() - 1); } else str = lexeme(); */ Double_Token t = new Double_Token(YYtokentypes.DOUBLE_LITERAL,yytext); /* try { t.m_double = java.lang.Double.valueOf(str).doubleValue(); } catch (NumberFormatException e) { System.err.println("Unexpected integer number parse error at line:" +yyline+" char:"+yychar()+" to "+(yychar() + str.length())); } */ yyreturn((YYtoken)(t)); } break; case 12: { // String str = lexeme().substring(0,lexeme().length() - 1); DecLong_Token t = new DecLong_Token(YYtokentypes.LONG_LITERAL,yytext); /* Utility.assert(str.length() == lexeme().length() - 1); try { t.m_long = java.lang.Long.valueOf(str).longValue(); } catch (NumberFormatException e) { System.err.println("Unexpected long number parse error at line:" +yyline+" char:"+yychar()+" to "+(yychar() + str.length())); } */ yyreturn((YYtoken)(t)); } break; case 13: { /* String str = lexeme().substring(2,lexeme().length() - 1); Long_Token t = new Long_Token(YYtokentypes.LONG_LITERAL,yytext); Utility.assert(str.length() == lexeme().length() - 2); try { t.m_long = java.lang.Long.valueOf(str, 16).longValue(); } catch (NumberFormatException e) { System.err.println("Unexpected long number parse error at line:" +yyline+" char:"+yychar()+" to "+(yychar() + str.length())); } */ yyreturn((YYtoken)( new HexLong_Token(YYtokentypes.LONG_LITERAL,yytext))); } break; case 14: { /* String str = lexeme().substring(1,lexeme().length() - 1); Long_Token t = new Long_Token(YYtokentypes.LONG_LITERAL,yytext); Utility.assert(str.length() == lexeme().length() - 2); try { t.m_long = java.lang.Long.valueOf(str, 8).longValue(); } catch (NumberFormatException e) { System.err.println("Unexpected long number parse error at line:" +yyline+" char:"+yychar()+" to "+(yychar() + str.length())); } yyreturn((YYtoken)(t)); */ yyreturn((YYtoken)(new OctLong_Token(YYtokentypes.LONG_LITERAL,yytext))); } break; case 15: { /* Int_Token t = new Int_Token(YYtokentypes.INT_LITERAL,yytext); try { t.m_int = java.lang.Integer.parseInt(lexeme()); } catch (NumberFormatException e) { System.err.println("Unexpected 10-based integer number parse error at line:" +yyline+" char:"+yychar()+" to "+(yychar() + lexeme().length())+"str "+lexeme()); } yyreturn((YYtoken)(t)); */ yyreturn((YYtoken)(new DecInt_Token(YYtokentypes.INT_LITERAL,yytext))); } break; case 16: { /* String str = lexeme().substring(2,lexeme().length()); Int_Token t = new Int_Token(YYtokentypes.INT_LITERAL,yytext); Utility.assert(str.length() == lexeme().length() - 2); try { t.m_int = java.lang.Integer.parseInt(str, 16); } catch (NumberFormatException e) { System.err.println("Unexpected 16-based integer number parse error at line:" +yyline+" char:"+yychar()+" to "+(yychar() + str.length())); } yyreturn((YYtoken)(t)); */ yyreturn((YYtoken)(new OctInt_Token(YYtokentypes.INT_LITERAL,yytext))); } break; case 17: { /* String str = lexeme(); Int_Token t = new Int_Token(YYtokentypes.INT_LITERAL,yytext); //Utility.assert(str.length() == lexeme().length() - 1); try { t.m_int = java.lang.Integer.parseInt(str, 8); } catch (NumberFormatException e) { System.err.println("Unexpected 8-based integer number parse error at line:" +yyline+" char:"+yychar()+" to "+(yychar() + str.length())); } yyreturn((YYtoken)(t)); */ yyreturn((YYtoken)(new DecInt_Token(YYtokentypes.INT_LITERAL,yytext))); } break; case 18: { // String str = lexeme().substring(1,lexeme().length()-1); // Utility.assert(str.length() == lexeme().length() - 2); yyreturn((YYtoken)(new Char_Token(YYtokentypes.CHARACTER_LITERAL,yytext))); } break; case 19: { } break; case 20: { yybegin(INITIAL); yyreturn(new YYtoken(YYtokentypes.VERBATIM_OFF,yytext)); } break; case 21: { // yybegin(VERB_SCAN); yybegin(VERB_ON); yyreturn(new YYtoken(YYtokentypes.VERBATIM_NSLJ,yytext));} break; case 22: { // yybegin(VERB_SCAN); yybegin(VERB_ON); yyreturn(new YYtoken(YYtokentypes.VERBATIM_NSLC,yytext));} break; case 23: { yyreturn(new YYtoken(YYtokentypes.NSLJ,yytext));} break; case 24: {yyreturn(new YYtoken(YYtokentypes.SPECIAL,yytext));} break; case 25: {yyreturn(new YYtoken(YYtokentypes.SPECIAL,yytext));} break; case 26: {yyreturn(new YYtoken(YYtokentypes.ARRAY,yytext));} break; case 27: {yyreturn(new YYtoken(YYtokentypes.NEW,yytext));} break; case 28: {yyreturn(new YYtoken(YYtokentypes.NSLMODULE,yytext));} break; case 29: {yyreturn(new YYtoken(YYtokentypes.NSLMODULE,yytext));} break; case 30: {yyreturn(new YYtoken(YYtokentypes.NSLMODULE,yytext));} break; case 31: {yyreturn(new YYtoken(YYtokentypes.NSLMODEL,yytext));} break; case 32: {yyreturn(new YYtoken(YYtokentypes.NSLCLASS,yytext));} break; case 33: { yyreturn(new YYtoken(YYtokentypes.CONNECT,yytext));} break; case 34: { yyreturn(new YYtoken(YYtokentypes.CONNECT,yytext));} break; case 35: { yyreturn(new YYtoken(YYtokentypes.CONNECT,yytext));} break; case 36: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 37: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 38: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 39: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 40: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 41: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 42: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 43: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 44: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 45: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 46: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 47: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 48: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 49: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 50: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 51: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 52: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 53: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 54: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 55: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 56: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 57: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 58: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 59: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 60: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 61: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 62: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 63: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 64: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 65: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 66: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 67: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 68: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 69: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 70: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 71: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 72: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 73: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 74: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 75: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 76: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 77: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 78: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 79: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 80: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 81: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 82: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 83: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 84: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 85: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 86: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 87: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 88: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 89: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 90: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 91: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 92: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 93: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 94: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 95: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 96: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 97: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 98: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 99: { yyreturn(new YYtoken(YYtokentypes.NSLMULTI,yytext));} break; case 100: { yyreturn(new YYtoken(YYtokentypes.ABSTRACT,yytext));} break; case 101: { yyreturn(new YYtoken(YYtokentypes.BOOLEAN,yytext));} break; case 102: { yyreturn(new YYtoken(YYtokentypes.BREAK,yytext));} break; case 103: { yyreturn(new YYtoken(YYtokentypes.BYTE,yytext));} break; case 104: { yyreturn(new YYtoken(YYtokentypes.CASE,yytext));} break; case 105: { yyreturn(new YYtoken(YYtokentypes.CATCH,yytext));} break; case 106: { yyreturn(new YYtoken(YYtokentypes.CHAR, yytext));} break; case 107: { yyreturn(new YYtoken(YYtokentypes.CLASS,yytext));} break; case 108: { yyreturn(new YYtoken(YYtokentypes.CONTINUE,yytext));} break; case 109: { yyreturn(new YYtoken(YYtokentypes.DEFAULT, yytext));} break; case 110: { yyreturn(new YYtoken(YYtokentypes.DO , yytext));} break; case 111: { yyreturn(new YYtoken(YYtokentypes.DOUBLE, yytext));} break; case 112: { yyreturn(new YYtoken(YYtokentypes.EXTENDS, yytext));} break; case 113: { yyreturn(new YYtoken(YYtokentypes.ELSE, yytext));} break; case 114: { yyreturn(new YYtoken(YYtokentypes.FALSE_TOKEN, yytext));} break; case 115: { yyreturn(new YYtoken(YYtokentypes.FINAL, yytext));} break; case 116: { yyreturn(new YYtoken(YYtokentypes.FINALLY, yytext));} break; case 117: { yyreturn(new YYtoken(YYtokentypes.FLOAT , yytext));} break; case 118: { yyreturn(new YYtoken(YYtokentypes.FOR , yytext));} break; case 119: { yyreturn(new YYtoken(YYtokentypes.IF , yytext));} break; case 120: { yyreturn(new YYtoken(YYtokentypes.IMPLEMENTS, yytext));} break; case 121: { yyreturn(new YYtoken(YYtokentypes.NSLIMPORT , yytext));} break; case 122: { yyreturn(new YYtoken(YYtokentypes.INSTANCEOF, yytext));} break; case 123: { yyreturn(new YYtoken(YYtokentypes.INT , yytext));} break; case 124: { yyreturn(new YYtoken(YYtokentypes.INTERFACE, yytext));} break; case 125: { yyreturn(new YYtoken(YYtokentypes.LONG , yytext));} break; case 126: { yyreturn(new YYtoken(YYtokentypes.NATIVE , yytext));} break; case 127: { yyreturn(new YYtoken(YYtokentypes.NEW , yytext));} break; case 128: { yyreturn(new YYtoken(YYtokentypes.NULL_TOKEN , yytext));} break; case 129: { yyreturn(new YYtoken(YYtokentypes.PACKAGE , yytext));} break; case 130: { yyreturn(new YYtoken(YYtokentypes.PRIVATE , yytext));} break; case 131: { yyreturn(new YYtoken(YYtokentypes.PROTECTED, yytext));} break; case 132: { yyreturn(new YYtoken(YYtokentypes.PUBLIC , yytext));} break; case 133: { yyreturn(new YYtoken(YYtokentypes.RETURN , yytext));} break; case 134: { yyreturn(new YYtoken(YYtokentypes.SHORT , yytext));} break; case 135: { yyreturn(new YYtoken(YYtokentypes.STATIC , yytext));} break; case 136: { yyreturn(new YYtoken(YYtokentypes.SUPER , yytext));} break; case 137: { yyreturn(new YYtoken(YYtokentypes.SWITCH , yytext));} break; case 138: { yyreturn(new YYtoken(YYtokentypes.SYNCHRONIZED, yytext));} break; case 139: { yyreturn(new YYtoken(YYtokentypes.THIS , yytext));} break; case 140: { yyreturn(new YYtoken(YYtokentypes.THROW , yytext));} break; case 141: { yyreturn(new YYtoken(YYtokentypes.THROWS , yytext));} break; case 142: { yyreturn(new YYtoken(YYtokentypes.TRANSIENT, yytext));} break; case 143: { yyreturn(new YYtoken(YYtokentypes.VOLATILE , yytext));} break; case 144: { yyreturn(new YYtoken(YYtokentypes.TRUE_TOKEN, yytext));} break; case 145: { yyreturn(new YYtoken(YYtokentypes.TRY , yytext));} break; case 146: { yyreturn(new YYtoken(YYtokentypes.VOID , yytext));} break; case 147: { yyreturn(new YYtoken(YYtokentypes.WHILE , yytext));} break; case 148: { yyreturn(new YYtoken(YYtokentypes.SHIFT_RIGHT_EQUALS, yytext));} break; case 149: { yyreturn(new YYtoken(YYtokentypes.FILL_SHIFT_RIGHT_EQUALS, yytext));} break; case 150: { yyreturn(new YYtoken(YYtokentypes.SHIFT_LEFT_EQUALS, yytext));} break; case 151: { yyreturn(new YYtoken(YYtokentypes.ADD_EQUALS, yytext));} break; case 152: { yyreturn(new YYtoken(YYtokentypes.SUB_EQUALS, yytext));} break; case 153: { yyreturn(new YYtoken(YYtokentypes.MUL_EQUALS, yytext));} break; case 154: { yyreturn(new YYtoken(YYtokentypes.DIV_EQUALS, yytext));} break; case 155: { yyreturn(new YYtoken(YYtokentypes.MOD_EQUALS, yytext));} break; case 156: { yyreturn(new YYtoken(YYtokentypes.AND_EQUALS, yytext));} break; case 157: { yyreturn(new YYtoken(YYtokentypes.XOR_EQUALS, yytext));} break; case 158: { yyreturn(new YYtoken(YYtokentypes.OR_EQUALS, yytext));} break; case 159: { yyreturn(new YYtoken(YYtokentypes.BITSHIFT_RIGHT, yytext));} break; case 160: { yyreturn(new YYtoken(YYtokentypes.FILL_SHIFT_RIGHT, yytext));} break; case 161: { yyreturn(new YYtoken(YYtokentypes.SHIFT_LEFT, yytext));} break; case 162: { yyreturn(new YYtoken(YYtokentypes.INCR, yytext));} break; case 163: { yyreturn(new YYtoken(YYtokentypes.DECR, yytext));} break; case 164: { yyreturn(new YYtoken(YYtokentypes.AND, yytext));} break; case 165: { yyreturn(new YYtoken(YYtokentypes.OR, yytext));} break; case 166: { yyreturn(new YYtoken(YYtokentypes.LTEQ, yytext));} break; case 167: { yyreturn(new YYtoken(YYtokentypes.GTEQ, yytext));} break; case 168: { yyreturn(new YYtoken(YYtokentypes.EQUAL_COMPARE, yytext));} break; case 169: { yyreturn(new YYtoken(YYtokentypes.NOT_EQUAL, yytext));} break; case 170: { yyreturn(new YYtoken((yytext.lexeme()).charAt(0), yytext));} break; case 171: { yyreturn(new YYtoken((yytext.lexeme()).charAt(0), yytext));} break; case 172: { yyreturn(new YYtoken((yytext.lexeme()).charAt(0), yytext));} break; case 173: { yyreturn(new YYtoken((yytext.lexeme()).charAt(0), yytext));} break; case 174: { yyreturn(new YYtoken(YYtokentypes.BIT_MUL, yytext));} break; case 175: { yyreturn(new YYtoken(YYtokentypes.STRING, yytext));} break; case 176: { yyreturn(new YYtoken(YYtokentypes.STRING, yytext));} break; case 177: { YYtoken t =new YYtoken(YYtokentypes.SYMBOL, yytext); yyreturn(t); } break; case 178: { System.out.println("Illegal character: <" + yytext.lexeme() + "> at line "+yyline()); Utility.error(Utility.E_UNMATCHED); } break; case 179: break; case YY_END_OF_BUFFER + 1 + INITIAL : case YY_END_OF_BUFFER + 1 + COMMENT : case YY_END_OF_BUFFER + 1 + VERB_ON : case YY_END_OF_BUFFER + 1 + VERB_SCAN : case YY_END_OF_BUFFER + 1 + VERB_IGN : yylval = null; break; case YY_END_OF_BUFFER: yy_act = YY_STATE_EOF(YY_START()); {Goto = do_action; break branch;} default: yyfatalerror( "fatal flex scanner internal error--no action found" ); break; } /* end of action switch */ if(yylval != yylvalundef) { if(yydebug >= 1) yyreport(yylval); return yylval; } else { if(yydebug >= 10) yyout.println("yylex: no token produced"); } } //branch } /* end of scanning one token */ } /* end of yylex */ public void yy_push_state( int new_state ) { yy_start_stack.push(YY_START()); BEGIN(new_state); } public void yy_pop_state() { BEGIN(yy_start_stack.pop()); } protected int yy_top_state() { return yy_start_stack.top(); } protected void yyfatalerror( String msg) throws LexException { throw new LexException("yylex: fatalerror: " + msg); } public void yylexerror(String s) throws LexException { yyout.println("yylexerror: " + "char/line+char " + yytext.yychar0() + "/" + yytext.yyline() + "+" + yytext.yychar0() + " ; " + s); throw new LexException(s); } public YYtoken yyreport(YYtoken yylval) { if(yylval != null) { yyout.println("yylex: " + " char/line+char " + yylval.charno0() + "/" + yylval.lineno() + "+" + yylval.charno() + " /" + YYtokentypes.tokenname(yylval.tokentype) + "/(" + yylval.tokentype + ") ; text=#" + yylval.text + "#"); } else { yyout.println("yylex: " + " char/line+char " + yytext.yychar0() + "/" + yytext.yyline() + "+" + yytext.yychar0() + " /EOF/"); } return yylval; } protected void BEGIN(int n) {yy_start = 1+2*n;} public void yybegin(int n) {BEGIN(n);} public int YY_START() {return (yy_start-1)/2;} protected int YY_AT_BOL() {return (yy_at_bol)?1:0;} protected int YY_STATE_EOF(int st) {return YY_END_OF_BUFFER + st + 1;} /* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */ protected int YY_SC_TO_UI(byte c) {return (int)((byte)c);} public void yy_set_interactive(boolean is_interactive) { this.is_interactive= is_interactive; } protected void yy_set_bol(boolean at_bol) { yy_at_bol = at_bol; } // TABLES public static final short yy_accept[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 180, 178, 1, 1, 170, 9, 177, 170, 170, 178, 170, 170, 170, 173, 170, 170, 17, 15, 170, 170, 170, 177, 177, 177, 170, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 171, 170, 172, 6, 2, 6, 6, 179, 19, 179, 1, 169, 9, 8, 9, 177, 155, 164, 156, 0, 0, 0, 153, 162, 151, 163, 152, 174, 11, 3, 7, 154, 11, 17, 0, 11, 0, 10, 14, 0, 15, 12, 161, 166, 168, 95, 167, 159, 177, 177, 177, 177, 157, 177, 177, 177, 177, 177, 177, 177, 177, 177, 110, 177, 177, 177, 177, 177, 177, 119, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 158, 165, 5, 4, 0, 9, 0, 8, 18, 18, 0, 18, 0, 0, 0, 0, 7, 11, 0, 11, 16, 150, 95, 148, 160, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 118, 177, 177, 123, 177, 177, 127, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 145, 177, 177, 177, 177, 0, 9, 0, 0, 0, 0, 11, 13, 149, 177, 23, 177, 177, 177, 177, 177, 177, 103, 104, 177, 106, 177, 177, 177, 177, 177, 113, 177, 177, 177, 177, 177, 177, 177, 125, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 128, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 139, 177, 177, 144, 177, 146, 177, 177, 0, 0, 26, 177, 177, 177, 177, 177, 102, 105, 177, 107, 177, 177, 177, 177, 177, 114, 115, 117, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 134, 177, 177, 136, 177, 177, 140, 177, 177, 177, 147, 0, 0, 0, 177, 177, 177, 177, 177, 177, 177, 177, 177, 111, 177, 177, 177, 177, 177, 126, 80, 42, 94, 177, 177, 177, 177, 85, 177, 177, 47, 177, 177, 81, 177, 177, 177, 177, 177, 88, 177, 177, 177, 177, 54, 177, 177, 91, 177, 177, 177, 177, 177, 177, 177, 177, 177, 86, 177, 177, 177, 62, 64, 87, 177, 177, 177, 177, 177, 132, 133, 177, 135, 137, 177, 141, 177, 177, 177, 0, 0, 0, 177, 177, 25, 177, 101, 177, 33, 177, 109, 112, 116, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 43, 48, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 51, 177, 177, 177, 177, 177, 177, 177, 177, 93, 177, 177, 55, 57, 177, 177, 79, 177, 177, 177, 92, 96, 61, 177, 177, 177, 177, 129, 130, 177, 24, 177, 177, 177, 177, 0, 0, 177, 39, 100, 177, 108, 177, 177, 177, 177, 177, 177, 98, 32, 177, 177, 46, 45, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 31, 177, 177, 41, 177, 177, 177, 177, 177, 177, 177, 177, 63, 36, 177, 177, 177, 177, 143, 0, 27, 177, 177, 177, 177, 177, 124, 82, 83, 84, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 75, 177, 177, 121, 177, 177, 177, 177, 177, 177, 177, 28, 177, 177, 177, 77, 177, 177, 177, 177, 177, 177, 177, 131, 177, 142, 177, 0, 177, 38, 176, 120, 122, 177, 34, 177, 177, 99, 72, 177, 177, 177, 177, 177, 177, 177, 67, 177, 177, 68, 177, 177, 177, 40, 56, 35, 177, 177, 59, 177, 65, 37, 177, 177, 0, 177, 177, 44, 97, 71, 177, 50, 177, 177, 78, 29, 89, 52, 90, 53, 177, 177, 177, 60, 177, 177, 177, 0, 177, 177, 177, 76, 69, 30, 177, 70, 177, 138, 177, 0, 175, 177, 177, 58, 66, 177, 177, 0, 20, 177, 49, 0, 22, 0, 21, 177, 177, 177, 177, 177, 177, 177, 73, 177, 177, 74, 0 }; public static final int yy_ec[] = { 0, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 7, 8, 1, 9, 10, 11, 12, 13, 13, 14, 15, 13, 16, 17, 18, 19, 20, 21, 20, 22, 22, 22, 22, 23, 23, 13, 24, 25, 26, 27, 13, 13, 28, 29, 30, 31, 32, 33, 34, 9, 35, 36, 9, 37, 38, 39, 40, 41, 9, 42, 43, 44, 9, 45, 46, 47, 48, 9, 13, 49, 13, 50, 51, 1, 52, 53, 54, 55, 56, 57, 58, 59, 60, 9, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }; public static final int yy_meta[] = { 0, 1, 1, 1, 2, 1, 1, 1, 1, 3, 1, 1, 4, 1, 1, 1, 1, 1, 1, 5, 5, 5, 5, 5, 1, 1, 1, 1, 5, 5, 5, 5, 5, 5, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 3, 5, 5, 5, 5, 5, 5, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 1 }; public static final short yy_base[] = { 0, 0, 0, 76, 77, 79, 80, 0, 0, 0, 0, 970, 971, 83, 96, 943, 74, 0, 942, 81, 96, 971, 941, 88, 89, 97, 95, 136, 194, 99, 100, 102, 924, 63, 924, 938, 910, 65, 79, 78, 48, 110, 85, 897, 108, 95, 905, 115, 112, 122, 901, 971, 111, 971, 971, 971, 941, 944, 971, 971, 901, 197, 971, 127, 971, 216, 0, 971, 971, 971, 944, 943, 216, 971, 971, 971, 971, 971, 971, 221, 971, 0, 971, 238, 65, 279, 971, 269, 971, 971, 0, 0, 971, 928, 971, 971, 0, 971, 168, 911, 915, 889, 918, 971, 880, 883, 891, 876, 127, 893, 892, 879, 885, 870, 871, 869, 876, 873, 871, 867, 0, 868, 135, 869, 862, 858, 868, 867, 874, 147, 874, 856, 860, 868, 871, 856, 861, 856, 161, 193, 851, 122, 858, 971, 971, 971, 971, 849, 301, 277, 157, 971, 971, 904, 903, 294, 308, 902, 302, 0, 320, 325, 335, 99, 971, 0, 971, 887, 884, 875, 193, 880, 839, 846, 855, 850, 849, 850, 835, 833, 169, 849, 847, 843, 842, 828, 844, 843, 0, 832, 823, 836, 833, 830, 0, 365, 827, 827, 815, 816, 823, 813, 815, 828, 811, 824, 809, 824, 808, 811, 811, 818, 0, 820, 817, 819, 808, 816, 361, 359, 856, 0, 363, 392, 971, 971, 819, 0, 807, 797, 829, 795, 806, 800, 0, 0, 801, 816, 789, 801, 796, 784, 792, 0, 789, 796, 789, 780, 793, 796, 779, 0, 774, 364, 780, 201, 202, 212, 784, 176, 145, 778, 364, 777, 770, 207, 378, 381, 178, 772, 0, 787, 786, 781, 776, 767, 764, 773, 772, 763, 776, 770, 0, 755, 758, 0, 774, 0, 755, 768, 771, 0, 816, 769, 760, 791, 766, 765, 0, 0, 746, 0, 761, 750, 751, 756, 756, 0, 748, 0, 746, 744, 750, 750, 736, 749, 741, 748, 730, 748, 268, 370, 729, 742, 731, 734, 725, 742, 727, 754, 733, 80, 726, 734, 726, 723, 716, 712, 273, 296, 722, 719, 712, 711, 364, 717, 711, 722, 309, 713, 724, 715, 716, 703, 718, 717, 706, 0, 717, 714, 0, 708, 698, 696, 704, 693, 702, 0, 691, 0, 696, 691, 694, 720, 702, 691, 686, 683, 681, 681, 0, 681, 674, 692, 693, 694, 0, 0, 0, 0, 344, 681, 675, 386, 0, 686, 672, 0, 700, 677, 0, 677, 413, 669, 672, 671, 0, 676, 421, 422, 226, 0, 678, 695, 0, 668, 676, 664, 674, 676, 657, 655, 682, 661, 0, 667, 652, 655, 0, 289, 0, 656, 655, 662, 661, 646, 0, 0, 653, 0, 0, 649, 0, 657, 652, 649, 650, 697, 652, 664, 636, 0, 635, 0, 644, 0, 647, 0, 0, 0, 638, 645, 646, 634, 638, 645, 641, 626, 642, 637, 415, 0, 640, 623, 217, 319, 625, 624, 632, 618, 618, 630, 0, 622, 627, 630, 619, 624, 627, 616, 615, 0, 611, 605, 603, 0, 608, 619, 0, 603, 614, 604, 0, 0, 0, 603, 602, 597, 595, 0, 0, 608, 0, 599, 598, 598, 604, 596, 585, 587, 594, 0, 591, 0, 584, 588, 596, 582, 586, 585, 0, 0, 578, 593, 0, 0, 590, 581, 579, 583, 571, 576, 575, 577, 565, 583, 576, 565, 563, 577, 564, 569, 574, 561, 566, 0, 571, 571, 563, 570, 560, 566, 569, 566, 559, 556, 544, 0, 554, 560, 554, 543, 561, 0, 560, 971, 542, 545, 550, 538, 549, 0, 0, 0, 0, 549, 534, 535, 548, 546, 528, 537, 536, 524, 525, 0, 525, 542, 0, 531, 529, 533, 519, 526, 530, 516, 0, 515, 521, 514, 0, 521, 512, 511, 525, 508, 509, 513, 0, 500, 0, 536, 509, 513, 0, 0, 0, 0, 508, 0, 506, 514, 0, 0, 499, 497, 493, 494, 487, 483, 488, 0, 483, 470, 0, 469, 468, 461, 0, 0, 0, 462, 456, 499, 456, 0, 0, 462, 474, 459, 451, 462, 0, 0, 0, 450, 0, 448, 443, 0, 0, 0, 0, 0, 0, 454, 439, 435, 0, 438, 445, 462, 441, 438, 425, 430, 0, 0, 0, 428, 0, 421, 0, 427, 465, 0, 432, 396, 0, 0, 469, 473, 477, 971, 359, 0, 481, 971, 503, 971, 399, 397, 382, 363, 350, 351, 355, 0, 327, 304, 0, 971, 527, 532, 537, 540, 545, 550, 555, 365, 560, 562, 303, 268, 88 }; public static final short yy_def[] = { 0, 721, 1, 722, 722, 723, 723, 723, 723, 723, 723, 721, 721, 721, 721, 721, 724, 725, 721, 721, 726, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 725, 725, 725, 721, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 724, 721, 724, 725, 721, 721, 721, 721, 721, 727, 721, 721, 721, 721, 721, 721, 721, 721, 728, 721, 721, 27, 721, 721, 721, 721, 721, 729, 28, 721, 721, 721, 721, 730, 721, 721, 725, 725, 725, 725, 721, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 721, 721, 721, 721, 721, 724, 721, 724, 721, 721, 721, 721, 721, 721, 731, 721, 728, 721, 721, 721, 729, 721, 730, 721, 721, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 721, 724, 721, 721, 732, 721, 721, 721, 721, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 721, 733, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 721, 734, 721, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 721, 721, 721, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 721, 721, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 721, 721, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 721, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 721, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 721, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 721, 725, 725, 725, 725, 725, 725, 725, 721, 721, 725, 725, 721, 721, 721, 721, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 0, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721 }; public static final short yy_nxt[] = { 0, 12, 13, 13, 14, 13, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 28, 28, 28, 21, 29, 30, 31, 32, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 33, 17, 17, 17, 34, 17, 17, 17, 17, 17, 12, 35, 17, 36, 37, 38, 39, 40, 41, 17, 17, 42, 17, 43, 17, 44, 17, 45, 17, 46, 47, 48, 17, 49, 50, 17, 17, 17, 51, 52, 53, 55, 55, 64, 59, 59, 61, 61, 61, 61, 61, 56, 56, 68, 447, 57, 57, 59, 59, 61, 61, 61, 61, 61, 74, 71, 76, 100, 69, 71, 80, 114, 78, 721, 81, 75, 77, 79, 79, 79, 79, 79, 82, 115, 65, 93, 94, 95, 96, 97, 98, 105, 108, 101, 106, 112, 64, 224, 143, 109, 721, 107, 110, 120, 113, 111, 72, 71, 128, 121, 122, 407, 60, 60, 83, 408, 84, 84, 84, 84, 85, 124, 224, 116, 129, 125, 64, 130, 86, 87, 88, 117, 138, 118, 89, 132, 119, 65, 126, 140, 127, 139, 133, 214, 90, 215, 134, 135, 141, 136, 144, 137, 86, 87, 88, 166, 167, 176, 177, 89, 61, 61, 61, 61, 61, 190, 191, 65, 198, 328, 329, 90, 83, 199, 91, 91, 91, 91, 91, 148, 148, 149, 208, 148, 228, 150, 86, 87, 88, 154, 209, 349, 92, 326, 239, 229, 155, 155, 155, 156, 240, 79, 79, 79, 79, 79, 210, 350, 327, 539, 86, 87, 88, 86, 158, 88, 540, 92, 160, 160, 160, 160, 160, 321, 319, 211, 65, 320, 322, 212, 86, 158, 88, 337, 369, 323, 338, 86, 158, 88, 149, 149, 149, 489, 149, 161, 161, 324, 157, 162, 162, 162, 162, 162, 86, 158, 88, 83, 490, 85, 85, 85, 85, 85, 148, 148, 149, 152, 148, 291, 64, 86, 87, 88, 219, 219, 219, 219, 222, 222, 505, 152, 223, 223, 223, 223, 223, 63, 220, 220, 220, 220, 506, 393, 415, 86, 87, 88, 394, 416, 160, 160, 160, 160, 160, 162, 162, 162, 162, 162, 541, 218, 86, 158, 88, 162, 162, 162, 162, 162, 417, 418, 542, 428, 148, 148, 149, 86, 148, 88, 150, 163, 151, 429, 720, 463, 86, 158, 88, 220, 220, 220, 220, 223, 223, 223, 223, 223, 464, 465, 710, 86, 719, 88, 253, 254, 255, 256, 257, 258, 259, 260, 711, 261, 262, 263, 264, 265, 266, 267, 268, 65, 223, 223, 223, 223, 223, 331, 314, 718, 315, 717, 716, 423, 86, 332, 88, 316, 395, 424, 333, 339, 269, 317, 342, 340, 334, 715, 343, 341, 396, 468, 344, 397, 476, 714, 534, 345, 86, 346, 88, 469, 347, 348, 483, 486, 477, 478, 700, 470, 484, 487, 535, 713, 701, 712, 705, 485, 488, 702, 702, 702, 702, 706, 706, 706, 706, 708, 708, 708, 708, 702, 702, 702, 702, 706, 706, 706, 706, 704, 703, 699, 536, 698, 707, 697, 696, 695, 709, 694, 693, 692, 703, 691, 690, 689, 707, 708, 708, 708, 708, 688, 687, 686, 685, 684, 683, 682, 681, 680, 679, 678, 677, 676, 675, 674, 673, 672, 709, 54, 54, 54, 54, 54, 58, 58, 58, 58, 58, 63, 671, 63, 63, 63, 66, 670, 66, 70, 669, 70, 70, 70, 153, 668, 153, 153, 153, 159, 667, 159, 159, 159, 165, 666, 165, 165, 165, 221, 221, 665, 664, 663, 662, 661, 660, 659, 658, 657, 656, 655, 654, 653, 652, 651, 650, 649, 648, 647, 646, 645, 644, 643, 642, 641, 640, 639, 638, 637, 636, 635, 634, 633, 632, 631, 630, 629, 628, 627, 626, 625, 624, 623, 622, 621, 620, 619, 618, 617, 616, 615, 614, 613, 612, 611, 610, 609, 608, 607, 606, 605, 604, 603, 602, 601, 600, 599, 598, 597, 596, 595, 594, 593, 592, 591, 590, 589, 588, 587, 586, 585, 584, 583, 582, 581, 580, 579, 578, 577, 576, 575, 574, 573, 572, 571, 570, 569, 568, 567, 566, 565, 564, 563, 562, 561, 560, 559, 558, 557, 556, 555, 554, 553, 552, 551, 550, 549, 548, 547, 546, 545, 544, 543, 538, 537, 533, 532, 531, 530, 529, 528, 527, 526, 525, 524, 523, 522, 521, 520, 519, 518, 151, 517, 516, 515, 514, 513, 512, 511, 510, 509, 508, 507, 504, 503, 502, 501, 500, 499, 498, 497, 496, 495, 494, 493, 492, 491, 482, 481, 480, 479, 475, 474, 473, 472, 471, 467, 466, 462, 461, 460, 459, 458, 457, 456, 455, 454, 453, 452, 451, 450, 449, 448, 446, 445, 444, 443, 442, 441, 440, 439, 438, 437, 436, 435, 434, 433, 432, 431, 430, 427, 426, 425, 422, 421, 420, 419, 414, 413, 412, 411, 410, 409, 406, 405, 404, 403, 402, 401, 400, 399, 398, 392, 391, 390, 389, 388, 387, 386, 385, 384, 383, 382, 381, 380, 379, 378, 377, 376, 375, 374, 373, 372, 371, 370, 368, 367, 366, 365, 364, 363, 362, 361, 360, 359, 358, 357, 356, 355, 354, 353, 352, 351, 336, 335, 330, 325, 318, 313, 312, 311, 310, 309, 308, 307, 306, 305, 304, 303, 302, 301, 300, 299, 298, 297, 296, 295, 294, 293, 292, 151, 290, 289, 288, 287, 286, 285, 284, 283, 282, 281, 280, 279, 278, 277, 276, 275, 274, 273, 272, 271, 270, 252, 251, 250, 249, 248, 247, 246, 245, 244, 243, 242, 241, 238, 237, 236, 235, 234, 233, 232, 231, 230, 227, 226, 225, 151, 151, 151, 217, 216, 213, 207, 206, 205, 204, 203, 202, 201, 200, 197, 196, 195, 194, 193, 192, 189, 188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 178, 175, 174, 173, 172, 171, 170, 169, 168, 164, 152, 151, 147, 146, 145, 142, 131, 123, 104, 103, 102, 99, 73, 67, 62, 721, 11, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721 }; public static final short yy_chk[] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 4, 16, 5, 6, 13, 13, 13, 13, 13, 3, 4, 19, 734, 3, 4, 5, 6, 14, 14, 14, 14, 14, 23, 20, 24, 33, 19, 20, 26, 40, 25, 84, 26, 23, 24, 25, 25, 25, 25, 25, 26, 40, 16, 29, 29, 30, 30, 31, 31, 37, 38, 33, 37, 39, 63, 163, 52, 38, 84, 37, 38, 42, 39, 38, 20, 20, 45, 42, 42, 331, 5, 6, 27, 331, 27, 27, 27, 27, 27, 44, 163, 41, 45, 44, 150, 45, 27, 27, 27, 41, 48, 41, 27, 47, 41, 63, 44, 49, 44, 48, 47, 141, 27, 141, 47, 47, 49, 47, 52, 47, 27, 27, 27, 98, 98, 108, 108, 27, 61, 61, 61, 61, 61, 122, 122, 150, 129, 260, 260, 27, 28, 129, 28, 28, 28, 28, 28, 65, 65, 65, 138, 65, 170, 65, 28, 28, 28, 72, 138, 268, 28, 259, 180, 170, 72, 72, 72, 72, 180, 79, 79, 79, 79, 79, 139, 268, 259, 474, 28, 28, 28, 79, 79, 79, 474, 28, 83, 83, 83, 83, 83, 256, 255, 139, 65, 255, 256, 139, 83, 83, 83, 265, 733, 257, 265, 79, 79, 79, 149, 149, 149, 410, 149, 87, 87, 257, 72, 87, 87, 87, 87, 87, 83, 83, 83, 85, 410, 85, 85, 85, 85, 85, 148, 148, 148, 155, 148, 732, 148, 85, 85, 85, 155, 155, 155, 155, 158, 158, 429, 156, 158, 158, 158, 158, 158, 149, 156, 156, 156, 156, 429, 320, 338, 85, 85, 85, 320, 338, 160, 160, 160, 160, 160, 161, 161, 161, 161, 161, 475, 148, 160, 160, 160, 162, 162, 162, 162, 162, 339, 339, 475, 348, 218, 218, 218, 162, 218, 162, 218, 729, 219, 348, 719, 390, 160, 160, 160, 219, 219, 219, 219, 222, 222, 222, 222, 222, 390, 390, 704, 162, 718, 162, 195, 195, 195, 195, 195, 195, 195, 195, 704, 195, 195, 195, 195, 195, 195, 195, 195, 218, 223, 223, 223, 223, 223, 262, 253, 716, 253, 715, 714, 344, 223, 262, 223, 253, 321, 344, 262, 266, 195, 253, 267, 266, 262, 713, 267, 266, 321, 393, 267, 321, 402, 712, 470, 267, 223, 267, 223, 393, 267, 267, 408, 409, 402, 402, 693, 393, 408, 409, 470, 711, 693, 710, 697, 408, 409, 694, 694, 694, 694, 700, 700, 700, 700, 701, 701, 701, 701, 702, 702, 702, 702, 706, 706, 706, 706, 696, 694, 691, 470, 689, 700, 685, 684, 683, 701, 682, 681, 680, 702, 679, 677, 676, 706, 708, 708, 708, 708, 675, 668, 667, 665, 661, 660, 659, 658, 657, 654, 653, 652, 651, 647, 646, 645, 643, 708, 722, 722, 722, 722, 722, 723, 723, 723, 723, 723, 724, 642, 724, 724, 724, 725, 640, 725, 726, 639, 726, 726, 726, 727, 638, 727, 727, 727, 728, 637, 728, 728, 728, 730, 636, 730, 730, 730, 731, 731, 635, 634, 631, 630, 628, 623, 622, 621, 619, 617, 616, 615, 614, 613, 612, 611, 609, 608, 607, 605, 604, 603, 602, 601, 600, 599, 597, 596, 594, 593, 592, 591, 590, 589, 588, 587, 586, 585, 580, 579, 578, 577, 576, 574, 572, 571, 570, 569, 568, 566, 565, 564, 563, 562, 561, 560, 559, 558, 557, 556, 554, 553, 552, 551, 550, 549, 548, 547, 546, 545, 544, 543, 542, 541, 540, 539, 538, 537, 536, 533, 532, 529, 528, 527, 526, 525, 524, 522, 520, 519, 518, 517, 516, 515, 514, 513, 511, 508, 507, 506, 505, 501, 500, 499, 497, 496, 494, 493, 492, 490, 489, 488, 487, 486, 485, 484, 483, 481, 480, 479, 478, 477, 476, 473, 472, 469, 468, 467, 466, 465, 464, 463, 462, 461, 460, 456, 454, 452, 450, 449, 448, 447, 446, 445, 444, 443, 441, 438, 435, 434, 433, 432, 431, 427, 426, 425, 423, 422, 421, 420, 419, 418, 417, 416, 415, 413, 412, 407, 405, 404, 403, 401, 399, 398, 396, 395, 392, 391, 385, 384, 383, 382, 381, 379, 378, 377, 376, 375, 374, 373, 372, 371, 370, 368, 366, 365, 364, 363, 362, 361, 359, 358, 356, 355, 354, 353, 352, 351, 350, 349, 347, 346, 345, 343, 342, 341, 340, 337, 336, 335, 334, 333, 332, 330, 329, 328, 327, 326, 325, 324, 323, 322, 319, 318, 317, 316, 315, 314, 313, 312, 311, 310, 308, 306, 305, 304, 303, 302, 300, 297, 296, 295, 294, 293, 292, 290, 289, 288, 286, 284, 283, 281, 280, 279, 278, 277, 276, 275, 274, 273, 272, 271, 269, 264, 263, 261, 258, 254, 252, 250, 249, 248, 247, 246, 245, 244, 242, 241, 240, 239, 238, 237, 236, 233, 232, 231, 230, 229, 228, 226, 220, 217, 216, 215, 214, 213, 211, 210, 209, 208, 207, 206, 205, 204, 203, 202, 201, 200, 199, 198, 197, 196, 193, 192, 191, 190, 189, 187, 186, 185, 184, 183, 182, 181, 179, 178, 177, 176, 175, 174, 173, 172, 171, 169, 168, 167, 157, 154, 153, 147, 142, 140, 137, 136, 135, 134, 133, 132, 131, 130, 128, 127, 126, 125, 124, 123, 121, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 107, 106, 105, 104, 102, 101, 100, 99, 93, 71, 70, 60, 57, 56, 50, 46, 43, 36, 35, 34, 32, 22, 18, 15, 11, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721 }; // SUFFIX private int comment_count = 0; NslPreProcessor npp; public void init(NslPreProcessor npp) { npp.setWholeBuffer(yytext.wholebuffer); } public void setdebug(boolean d) {yydebug = d?1:0; yytext.setdebug(d);} public void setdebug(int i) {yydebug = i>0?i:0; yytext.setdebug(i);} public void yyreturn(YYtoken t) {yylval = t;} // return 0 based line number public int yyline() {return yytext.yyline();} // return 0 based absolute char number public int yychar0() {return yytext.yychar0();} // return 0 based char number within line public int yychar() {return yytext.yychar();} } // class YYlex