package spiglet; /* Generated By:JavaCC: Do not edit this line. SpigletParserTokenManager.java */ public class SpigletParserTokenManager implements SpigletParserConstants { public static java.io.PrintStream debugStream = System.out; public static void setDebugStream(java.io.PrintStream ds) { debugStream = ds; } private static final int jjStopStringLiteralDfa_0(int pos, long active0) { switch (pos) { case 0: if ((active0 & 0x3fffffff0000L) != 0L) { jjmatchedKind = 47; return 4; } return -1; case 1: if ((active0 & 0x3ffffdc00000L) != 0L) { jjmatchedKind = 47; jjmatchedPos = 1; return 4; } if ((active0 & 0x23f0000L) != 0L) return 4; return -1; case 2: if ((active0 & 0x17ff78c00000L) != 0L) { jjmatchedKind = 47; jjmatchedPos = 2; return 4; } if ((active0 & 0x280085000000L) != 0L) return 4; return -1; case 3: if ((active0 & 0x77848800000L) != 0L) { jjmatchedKind = 47; jjmatchedPos = 3; return 4; } if ((active0 & 0x108730400000L) != 0L) return 4; return -1; case 4: if ((active0 & 0x53808800000L) != 0L) return 4; if ((active0 & 0x24040000000L) != 0L) { jjmatchedKind = 47; jjmatchedPos = 4; return 4; } return -1; case 5: if ((active0 & 0x24000000000L) != 0L) return 4; if ((active0 & 0x40000000L) != 0L) { jjmatchedKind = 47; jjmatchedPos = 5; return 4; } return -1; case 6: if ((active0 & 0x40000000L) != 0L) { jjmatchedKind = 47; jjmatchedPos = 6; return 4; } return -1; case 7: if ((active0 & 0x40000000L) != 0L) { jjmatchedKind = 47; jjmatchedPos = 7; return 4; } return -1; default : return -1; } } private static final int jjStartNfa_0(int pos, long active0) { return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0), pos + 1); } static private final int jjStopAtPos(int pos, int kind) { jjmatchedKind = kind; jjmatchedPos = pos; return pos + 1; } static private final int jjStartNfaWithStates_0(int pos, int kind, int state) { jjmatchedKind = kind; jjmatchedPos = pos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return pos + 1; } return jjMoveNfa_0(state, pos + 1); } static private final int jjMoveStringLiteralDfa0_0() { switch(curChar) { case 40: return jjStopAtPos(0, 9); case 41: return jjStopAtPos(0, 10); case 46: return jjStopAtPos(0, 15); case 65: return jjMoveStringLiteralDfa1_0(0x200001000000L); case 66: return jjMoveStringLiteralDfa1_0(0x2000000000L); case 67: return jjMoveStringLiteralDfa1_0(0x10420000000L); case 69: return jjMoveStringLiteralDfa1_0(0x880200000L); case 71: return jjMoveStringLiteralDfa1_0(0xc0000L); case 72: return jjMoveStringLiteralDfa1_0(0x60040000000L); case 74: return jjMoveStringLiteralDfa1_0(0x8000000000L); case 76: return jjMoveStringLiteralDfa1_0(0x30000L); case 77: return jjMoveStringLiteralDfa1_0(0x80210800000L); case 78: return jjMoveStringLiteralDfa1_0(0x104100000L); case 79: return jjMoveStringLiteralDfa1_0(0x2000000L); case 80: return jjMoveStringLiteralDfa1_0(0x1000400000L); case 82: return jjMoveStringLiteralDfa1_0(0x4000000000L); case 84: return jjMoveStringLiteralDfa1_0(0x100008000000L); case 91: return jjStopAtPos(0, 13); case 93: return jjStopAtPos(0, 14); case 123: return jjStopAtPos(0, 11); case 125: return jjStopAtPos(0, 12); default : return jjMoveNfa_0(0, 0); } } static private final int jjMoveStringLiteralDfa1_0(long active0) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0); return 1; } switch(curChar) { case 65: return jjMoveStringLiteralDfa2_0(active0, 0x450000000L); case 69: if ((active0 & 0x20000L) != 0L) return jjStartNfaWithStates_0(1, 17, 4); else if ((active0 & 0x80000L) != 0L) return jjStartNfaWithStates_0(1, 19, 4); else if ((active0 & 0x100000L) != 0L) return jjStartNfaWithStates_0(1, 20, 4); return jjMoveStringLiteralDfa2_0(active0, 0x186000000000L); case 73: return jjMoveStringLiteralDfa2_0(active0, 0x8800000L); case 74: return jjMoveStringLiteralDfa2_0(active0, 0x10000000000L); case 76: return jjMoveStringLiteralDfa2_0(active0, 0x40000400000L); case 78: return jjMoveStringLiteralDfa2_0(active0, 0x81000000L); case 79: return jjMoveStringLiteralDfa2_0(active0, 0x324000000L); case 81: if ((active0 & 0x200000L) != 0L) return jjStartNfaWithStates_0(1, 21, 4); break; case 82: if ((active0 & 0x2000000L) != 0L) return jjStartNfaWithStates_0(1, 25, 4); return jjMoveStringLiteralDfa2_0(active0, 0x201800000000L); case 83: return jjMoveStringLiteralDfa2_0(active0, 0x20000000000L); case 84: if ((active0 & 0x10000L) != 0L) return jjStartNfaWithStates_0(1, 16, 4); else if ((active0 & 0x40000L) != 0L) return jjStartNfaWithStates_0(1, 18, 4); break; case 85: return jjMoveStringLiteralDfa2_0(active0, 0x8000000000L); default : break; } return jjStartNfa_0(0, active0); } static private final int jjMoveStringLiteralDfa2_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(0, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(1, active0); return 2; } switch(curChar) { case 68: if ((active0 & 0x1000000L) != 0L) return jjStartNfaWithStates_0(2, 24, 4); else if ((active0 & 0x80000000L) != 0L) return jjStartNfaWithStates_0(2, 31, 4); return jjMoveStringLiteralDfa3_0(active0, 0x20000000L); case 71: if ((active0 & 0x200000000000L) != 0L) return jjStartNfaWithStates_0(2, 45, 4); return jjMoveStringLiteralDfa3_0(active0, 0x2000000000L); case 73: return jjMoveStringLiteralDfa3_0(active0, 0x1010000000L); case 76: return jjMoveStringLiteralDfa3_0(active0, 0x440000000L); case 77: if ((active0 & 0x80000000000L) != 0L) return jjStartNfaWithStates_0(2, 43, 4); return jjMoveStringLiteralDfa3_0(active0, 0x108008000000L); case 78: return jjMoveStringLiteralDfa3_0(active0, 0x800000L); case 79: return jjMoveStringLiteralDfa3_0(active0, 0x40100000000L); case 82: return jjMoveStringLiteralDfa3_0(active0, 0x800000000L); case 84: if ((active0 & 0x4000000L) != 0L) return jjStartNfaWithStates_0(2, 26, 4); return jjMoveStringLiteralDfa3_0(active0, 0x24000000000L); case 85: return jjMoveStringLiteralDfa3_0(active0, 0x10000400000L); case 86: return jjMoveStringLiteralDfa3_0(active0, 0x200000000L); default : break; } return jjStartNfa_0(1, active0); } static private final int jjMoveStringLiteralDfa3_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(1, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(2, active0); return 3; } switch(curChar) { case 65: return jjMoveStringLiteralDfa4_0(active0, 0x40000000000L); case 69: if ((active0 & 0x20000000L) != 0L) return jjStartNfaWithStates_0(3, 29, 4); else if ((active0 & 0x200000000L) != 0L) return jjStartNfaWithStates_0(3, 33, 4); return jjMoveStringLiteralDfa4_0(active0, 0x8000000L); case 73: return jjMoveStringLiteralDfa4_0(active0, 0x2000000000L); case 76: if ((active0 & 0x400000000L) != 0L) return jjStartNfaWithStates_0(3, 34, 4); return jjMoveStringLiteralDfa4_0(active0, 0x40000000L); case 77: return jjMoveStringLiteralDfa4_0(active0, 0x10000000000L); case 78: if ((active0 & 0x10000000L) != 0L) return jjStartNfaWithStates_0(3, 28, 4); return jjMoveStringLiteralDfa4_0(active0, 0x1000000000L); case 79: return jjMoveStringLiteralDfa4_0(active0, 0x20800000000L); case 80: if ((active0 & 0x100000000L) != 0L) return jjStartNfaWithStates_0(3, 32, 4); else if ((active0 & 0x8000000000L) != 0L) return jjStartNfaWithStates_0(3, 39, 4); else if ((active0 & 0x100000000000L) != 0L) return jjStartNfaWithStates_0(3, 44, 4); break; case 83: if ((active0 & 0x400000L) != 0L) return jjStartNfaWithStates_0(3, 22, 4); break; case 85: return jjMoveStringLiteralDfa4_0(active0, 0x4000800000L); default : break; } return jjStartNfa_0(2, active0); } static private final int jjMoveStringLiteralDfa4_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(2, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(3, active0); return 4; } switch(curChar) { case 68: if ((active0 & 0x40000000000L) != 0L) return jjStartNfaWithStates_0(4, 42, 4); break; case 78: if ((active0 & 0x2000000000L) != 0L) return jjStartNfaWithStates_0(4, 37, 4); break; case 79: return jjMoveStringLiteralDfa5_0(active0, 0x40000000L); case 80: if ((active0 & 0x10000000000L) != 0L) return jjStartNfaWithStates_0(4, 40, 4); break; case 82: if ((active0 & 0x800000000L) != 0L) return jjStartNfaWithStates_0(4, 35, 4); return jjMoveStringLiteralDfa5_0(active0, 0x24000000000L); case 83: if ((active0 & 0x800000L) != 0L) return jjStartNfaWithStates_0(4, 23, 4); else if ((active0 & 0x8000000L) != 0L) return jjStartNfaWithStates_0(4, 27, 4); break; case 84: if ((active0 & 0x1000000000L) != 0L) return jjStartNfaWithStates_0(4, 36, 4); break; default : break; } return jjStartNfa_0(3, active0); } static private final int jjMoveStringLiteralDfa5_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(3, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(4, active0); return 5; } switch(curChar) { case 67: return jjMoveStringLiteralDfa6_0(active0, 0x40000000L); case 69: if ((active0 & 0x20000000000L) != 0L) return jjStartNfaWithStates_0(5, 41, 4); break; case 78: if ((active0 & 0x4000000000L) != 0L) return jjStartNfaWithStates_0(5, 38, 4); break; default : break; } return jjStartNfa_0(4, active0); } static private final int jjMoveStringLiteralDfa6_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(4, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(5, active0); return 6; } switch(curChar) { case 65: return jjMoveStringLiteralDfa7_0(active0, 0x40000000L); default : break; } return jjStartNfa_0(5, active0); } static private final int jjMoveStringLiteralDfa7_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(5, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(6, active0); return 7; } switch(curChar) { case 84: return jjMoveStringLiteralDfa8_0(active0, 0x40000000L); default : break; } return jjStartNfa_0(6, active0); } static private final int jjMoveStringLiteralDfa8_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(6, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(7, active0); return 8; } switch(curChar) { case 69: if ((active0 & 0x40000000L) != 0L) return jjStartNfaWithStates_0(8, 30, 4); break; default : break; } return jjStartNfa_0(7, active0); } static private final void jjCheckNAdd(int state) { if (jjrounds[state] != jjround) { jjstateSet[jjnewStateCnt++] = state; jjrounds[state] = jjround; } } static private final void jjAddStates(int start, int end) { do { jjstateSet[jjnewStateCnt++] = jjnextStates[start]; } while (start++ != end); } static private final void jjCheckNAddTwoStates(int state1, int state2) { jjCheckNAdd(state1); jjCheckNAdd(state2); } static private final void jjCheckNAddStates(int start, int end) { do { jjCheckNAdd(jjnextStates[start]); } while (start++ != end); } static private final void jjCheckNAddStates(int start) { jjCheckNAdd(jjnextStates[start]); jjCheckNAdd(jjnextStates[start + 1]); } static final long[] jjbitVec0 = { 0x1ff00000fffffffeL, 0xffffffffffffc000L, 0xffffffffL, 0x600000000000000L }; static final long[] jjbitVec2 = { 0x0L, 0x0L, 0x0L, 0xff7fffffff7fffffL }; static final long[] jjbitVec3 = { 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL }; static final long[] jjbitVec4 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffL, 0x0L }; static final long[] jjbitVec5 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0x0L, 0x0L }; static final long[] jjbitVec6 = { 0x3fffffffffffL, 0x0L, 0x0L, 0x0L }; static final long[] jjbitVec7 = { 0xfffffffffffffffeL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL }; static final long[] jjbitVec8 = { 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL }; static private final int jjMoveNfa_0(int startState, int curPos) { int[] nextStates; int startsAt = 0; jjnewStateCnt = 24; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x3fe000000000000L & l) != 0L) { if (kind > 46) kind = 46; jjCheckNAdd(1); } else if (curChar == 47) jjAddStates(0, 2); else if (curChar == 36) { if (kind > 47) kind = 47; jjCheckNAdd(4); } else if (curChar == 48) { if (kind > 46) kind = 46; } break; case 1: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 46) kind = 46; jjCheckNAdd(1); break; case 2: if (curChar == 48 && kind > 46) kind = 46; break; case 3: if (curChar != 36) break; if (kind > 47) kind = 47; jjCheckNAdd(4); break; case 4: if ((0x3ff001000000000L & l) == 0L) break; if (kind > 47) kind = 47; jjCheckNAdd(4); break; case 5: if (curChar == 47) jjAddStates(0, 2); break; case 6: if (curChar == 47) jjCheckNAddStates(3, 5); break; case 7: if ((0xffffffffffffdbffL & l) != 0L) jjCheckNAddStates(3, 5); break; case 8: if ((0x2400L & l) != 0L && kind > 6) kind = 6; break; case 9: if (curChar == 10 && kind > 6) kind = 6; break; case 10: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 9; break; case 11: if (curChar == 42) jjCheckNAddTwoStates(12, 13); break; case 12: if ((0xfffffbffffffffffL & l) != 0L) jjCheckNAddTwoStates(12, 13); break; case 13: if (curChar == 42) jjCheckNAddStates(6, 8); break; case 14: if ((0xffff7bffffffffffL & l) != 0L) jjCheckNAddTwoStates(15, 13); break; case 15: if ((0xfffffbffffffffffL & l) != 0L) jjCheckNAddTwoStates(15, 13); break; case 16: if (curChar == 47 && kind > 7) kind = 7; break; case 17: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 11; break; case 18: if (curChar == 42) jjCheckNAddTwoStates(19, 20); break; case 19: if ((0xfffffbffffffffffL & l) != 0L) jjCheckNAddTwoStates(19, 20); break; case 20: if (curChar == 42) jjCheckNAddStates(9, 11); break; case 21: if ((0xffff7bffffffffffL & l) != 0L) jjCheckNAddTwoStates(22, 20); break; case 22: if ((0xfffffbffffffffffL & l) != 0L) jjCheckNAddTwoStates(22, 20); break; case 23: if (curChar == 47 && kind > 8) kind = 8; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: case 4: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 47) kind = 47; jjCheckNAdd(4); break; case 7: jjAddStates(3, 5); break; case 12: jjCheckNAddTwoStates(12, 13); break; case 14: case 15: jjCheckNAddTwoStates(15, 13); break; case 19: jjCheckNAddTwoStates(19, 20); break; case 21: case 22: jjCheckNAddTwoStates(22, 20); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: case 4: if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) break; if (kind > 47) kind = 47; jjCheckNAdd(4); break; case 7: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjAddStates(3, 5); break; case 12: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(12, 13); break; case 14: case 15: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(15, 13); break; case 19: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(19, 20); break; case 21: case 22: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(22, 20); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 24 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } static final int[] jjnextStates = { 6, 17, 18, 7, 8, 10, 13, 14, 16, 20, 21, 23, }; private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2) { switch(hiByte) { case 0: return ((jjbitVec2[i2] & l2) != 0L); case 48: return ((jjbitVec3[i2] & l2) != 0L); case 49: return ((jjbitVec4[i2] & l2) != 0L); case 51: return ((jjbitVec5[i2] & l2) != 0L); case 61: return ((jjbitVec6[i2] & l2) != 0L); default : if ((jjbitVec0[i1] & l1) != 0L) return true; return false; } } private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2) { switch(hiByte) { case 0: return ((jjbitVec8[i2] & l2) != 0L); default : if ((jjbitVec7[i1] & l1) != 0L) return true; return false; } } public static final String[] jjstrLiteralImages = { "", null, null, null, null, null, null, null, null, "\50", "\51", "\173", "\175", "\133", "\135", "\56", "\114\124", "\114\105", "\107\124", "\107\105", "\116\105", "\105\121", "\120\114\125\123", "\115\111\116\125\123", "\101\116\104", "\117\122", "\116\117\124", "\124\111\115\105\123", "\115\101\111\116", "\103\117\104\105", "\110\101\114\114\117\103\101\124\105", "\105\116\104", "\116\117\117\120", "\115\117\126\105", "\103\101\114\114", "\105\122\122\117\122", "\120\122\111\116\124", "\102\105\107\111\116", "\122\105\124\125\122\116", "\112\125\115\120", "\103\112\125\115\120", "\110\123\124\117\122\105", "\110\114\117\101\104", "\115\105\115", "\124\105\115\120", "\101\122\107", null, null, null, null, }; public static final String[] lexStateNames = { "DEFAULT", }; static final long[] jjtoToken = { 0xfffffffffe01L, }; static final long[] jjtoSkip = { 0x1feL, }; static final long[] jjtoSpecial = { 0x1c0L, }; static protected JavaCharStream input_stream; static private final int[] jjrounds = new int[24]; static private final int[] jjstateSet = new int[48]; static protected char curChar; public SpigletParserTokenManager(JavaCharStream stream){ if (input_stream != null) throw new TokenMgrError("ERROR: Second call to constructor of static lexer. You must use ReInit() to initialize the static variables.", TokenMgrError.STATIC_LEXER_ERROR); input_stream = stream; } public SpigletParserTokenManager(JavaCharStream stream, int lexState){ this(stream); SwitchTo(lexState); } static public void ReInit(JavaCharStream stream) { jjmatchedPos = jjnewStateCnt = 0; curLexState = defaultLexState; input_stream = stream; ReInitRounds(); } static private final void ReInitRounds() { int i; jjround = 0x80000001; for (i = 24; i-- > 0;) jjrounds[i] = 0x80000000; } static public void ReInit(JavaCharStream stream, int lexState) { ReInit(stream); SwitchTo(lexState); } static public void SwitchTo(int lexState) { if (lexState >= 1 || lexState < 0) throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE); else curLexState = lexState; } static protected Token jjFillToken() { Token t = Token.newToken(jjmatchedKind); t.kind = jjmatchedKind; String im = jjstrLiteralImages[jjmatchedKind]; t.image = (im == null) ? input_stream.GetImage() : im; t.beginLine = input_stream.getBeginLine(); t.beginColumn = input_stream.getBeginColumn(); t.endLine = input_stream.getEndLine(); t.endColumn = input_stream.getEndColumn(); return t; } static int curLexState = 0; static int defaultLexState = 0; static int jjnewStateCnt; static int jjround; static int jjmatchedPos; static int jjmatchedKind; public static Token getNextToken() { int kind; Token specialToken = null; Token matchedToken; int curPos = 0; EOFLoop : for (;;) { try { curChar = input_stream.BeginToken(); } catch(java.io.IOException e) { jjmatchedKind = 0; matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } try { input_stream.backup(0); while (curChar <= 32 && (0x100003600L & (1L << curChar)) != 0L) curChar = input_stream.BeginToken(); } catch (java.io.IOException e1) { continue EOFLoop; } jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_0(); if (jjmatchedKind != 0x7fffffff) { if (jjmatchedPos + 1 < curPos) input_stream.backup(curPos - jjmatchedPos - 1); if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } else { if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); if (specialToken == null) specialToken = matchedToken; else { matchedToken.specialToken = specialToken; specialToken = (specialToken.next = matchedToken); } } continue EOFLoop; } } int error_line = input_stream.getEndLine(); int error_column = input_stream.getEndColumn(); String error_after = null; boolean EOFSeen = false; try { input_stream.readChar(); input_stream.backup(1); } catch (java.io.IOException e1) { EOFSeen = true; error_after = curPos <= 1 ? "" : input_stream.GetImage(); if (curChar == '\n' || curChar == '\r') { error_line++; error_column = 0; } else error_column++; } if (!EOFSeen) { input_stream.backup(1); error_after = curPos <= 1 ? "" : input_stream.GetImage(); } throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); } } }