1 /*
2 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
1265 case 55:
1266 jjCheckNAddTwoStates(55, 56);
1267 break;
1268 case 57:
1269 case 58:
1270 jjCheckNAddTwoStates(58, 56);
1271 break;
1272 case 62:
1273 jjCheckNAddTwoStates(62, 63);
1274 break;
1275 case 64:
1276 case 65:
1277 jjCheckNAddTwoStates(65, 63);
1278 break;
1279 default : break;
1280 }
1281 } while(i != startsAt);
1282 }
1283 else
1284 {
1285 int hiByte = (int)(curChar >> 8);
1286 int i1 = hiByte >> 6;
1287 long l1 = 1L << (hiByte & 077);
1288 int i2 = (curChar & 0xff) >> 6;
1289 long l2 = 1L << (curChar & 077);
1290 do
1291 {
1292 switch(jjstateSet[--i])
1293 {
1294 case 0:
1295 case 28:
1296 if (!jjCanMove_1(hiByte, i1, i2, l1, l2))
1297 break;
1298 if (kind > 67)
1299 kind = 67;
1300 jjCheckNAdd(28);
1301 break;
1302 case 10:
1303 if (jjCanMove_0(hiByte, i1, i2, l1, l2))
1304 jjstateSet[jjnewStateCnt++] = 11;
1305 break;
|
1 /*
2 * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
1265 case 55:
1266 jjCheckNAddTwoStates(55, 56);
1267 break;
1268 case 57:
1269 case 58:
1270 jjCheckNAddTwoStates(58, 56);
1271 break;
1272 case 62:
1273 jjCheckNAddTwoStates(62, 63);
1274 break;
1275 case 64:
1276 case 65:
1277 jjCheckNAddTwoStates(65, 63);
1278 break;
1279 default : break;
1280 }
1281 } while(i != startsAt);
1282 }
1283 else
1284 {
1285 int hiByte = (curChar >> 8);
1286 int i1 = hiByte >> 6;
1287 long l1 = 1L << (hiByte & 077);
1288 int i2 = (curChar & 0xff) >> 6;
1289 long l2 = 1L << (curChar & 077);
1290 do
1291 {
1292 switch(jjstateSet[--i])
1293 {
1294 case 0:
1295 case 28:
1296 if (!jjCanMove_1(hiByte, i1, i2, l1, l2))
1297 break;
1298 if (kind > 67)
1299 kind = 67;
1300 jjCheckNAdd(28);
1301 break;
1302 case 10:
1303 if (jjCanMove_0(hiByte, i1, i2, l1, l2))
1304 jjstateSet[jjnewStateCnt++] = 11;
1305 break;
|