From: miettinen Date: Mon, 8 Sep 2014 05:55:21 +0000 (+0000) Subject: A bug fix in the Sysdyn Expression parser (refs #5267). X-Git-Tag: v1.29.0~192 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=5e086cf124f071dc4cc8696aab8d642be149a4bf;p=simantics%2Fsysdyn.git A bug fix in the Sysdyn Expression parser (refs #5267). git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@30218 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/expressionParser/ExpressionParser.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/expressionParser/ExpressionParser.java index 4c929397..88dd5eb5 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/expressionParser/ExpressionParser.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/expressionParser/ExpressionParser.java @@ -684,18 +684,31 @@ public class ExpressionParser implements ExpressionParserConstants { name(); jj_consume_token(60); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { - case 69: - jj_consume_token(69); + case IDENT: + case QIDENT: named_argument(); + label_8: + while (true) { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 69: + ; + break; + default: + jj_la1[28] = jj_gen; + break label_8; + } + jj_consume_token(69); + named_argument(); + } break; default: - jj_la1[28] = jj_gen; + jj_la1[29] = jj_gen; ; } jj_consume_token(61); break; default: - jj_la1[29] = jj_gen; + jj_la1[30] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -712,18 +725,18 @@ public class ExpressionParser implements ExpressionParserConstants { for_indices(); break; default: - jj_la1[30] = jj_gen; + jj_la1[31] = jj_gen; jj_consume_token(-1); throw new ParseException(); } break; default: - jj_la1[31] = jj_gen; + jj_la1[32] = jj_gen; ; } break; default: - jj_la1[32] = jj_gen; + jj_la1[33] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -732,15 +745,15 @@ public class ExpressionParser implements ExpressionParserConstants { final public void for_indices() throws ParseException { for_index(); - label_8: + label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 69: ; break; default: - jj_la1[33] = jj_gen; - break label_8; + jj_la1[34] = jj_gen; + break label_9; } jj_consume_token(69); for_index(); @@ -764,7 +777,7 @@ public class ExpressionParser implements ExpressionParserConstants { forRanges.add(forRange); break; default: - jj_la1[34] = jj_gen; + jj_la1[35] = jj_gen; ; } forIndex = false; @@ -804,18 +817,18 @@ void named_arguments() : { expression(); break; default: - jj_la1[35] = jj_gen; + jj_la1[36] = jj_gen; ; } - label_9: + label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 69: ; break; default: - jj_la1[36] = jj_gen; - break label_9; + jj_la1[37] = jj_gen; + break label_10; } jj_consume_token(69); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { @@ -839,7 +852,7 @@ void named_arguments() : { expression(); break; default: - jj_la1[37] = jj_gen; + jj_la1[38] = jj_gen; ; } } @@ -847,15 +860,15 @@ void named_arguments() : { final public void expression_list() throws ParseException { expression(); - label_10: + label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 69: ; break; default: - jj_la1[38] = jj_gen; - break label_10; + jj_la1[39] = jj_gen; + break label_11; } jj_consume_token(69); expression(); @@ -870,15 +883,15 @@ void named_arguments() : { currentRange = new ArrayList(); jj_consume_token(64); subscript(currentRange); - label_11: + label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 69: ; break; default: - jj_la1[39] = jj_gen; - break label_11; + jj_la1[40] = jj_gen; + break label_12; } jj_consume_token(69); subscript(currentRange); @@ -897,7 +910,7 @@ void named_arguments() : { currentRange.add(token); break; default: - jj_la1[42] = jj_gen; + jj_la1[43] = jj_gen; if (jj_2_3(2147483647)) { functionCall = null; name(); @@ -919,7 +932,7 @@ void named_arguments() : { rangeIndex(rangeToken, false, ":"); break; default: - jj_la1[40] = jj_gen; + jj_la1[41] = jj_gen; ; } rangeToken.endColumn = token.endColumn; @@ -930,15 +943,15 @@ void named_arguments() : { jj_consume_token(62); rangeToken.image = rangeToken.image + token.image; rangeIndex(rangeToken, true, ","); - label_12: + label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 69: ; break; default: - jj_la1[41] = jj_gen; - break label_12; + jj_la1[42] = jj_gen; + break label_13; } jj_consume_token(69); rangeIndex(rangeToken, false, ","); @@ -950,7 +963,7 @@ void named_arguments() : { rangeToken.image = rangeToken.image + token.image; break; default: - jj_la1[43] = jj_gen; + jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -973,7 +986,7 @@ void named_arguments() : { rangeToken.image = rangeToken.image + identToken; break; default: - jj_la1[44] = jj_gen; + jj_la1[45] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1000,30 +1013,30 @@ void named_arguments() : { finally { jj_save(2, xla); } } - private boolean jj_3R_31() { + private boolean jj_3R_32() { if (jj_scan_token(9)) return true; - if (jj_3R_30()) return true; + if (jj_3R_31()) return true; return false; } - private boolean jj_3R_35() { - if (jj_3R_39()) return true; + private boolean jj_3R_36() { + if (jj_3R_40()) return true; return false; } - private boolean jj_3R_33() { + private boolean jj_3R_34() { Token xsp; xsp = jj_scanpos; - if (jj_3R_35()) jj_scanpos = xsp; - if (jj_3R_36()) return true; + if (jj_3R_36()) jj_scanpos = xsp; + if (jj_3R_37()) return true; while (true) { xsp = jj_scanpos; - if (jj_3R_37()) { jj_scanpos = xsp; break; } + if (jj_3R_38()) { jj_scanpos = xsp; break; } } return false; } - private boolean jj_3R_38() { + private boolean jj_3R_39() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(70)) { @@ -1045,445 +1058,445 @@ void named_arguments() : { return false; } - private boolean jj_3R_26() { + private boolean jj_3R_27() { if (jj_scan_token(67)) return true; - if (jj_3R_25()) return true; + if (jj_3R_26()) return true; Token xsp; xsp = jj_scanpos; - if (jj_3R_29()) jj_scanpos = xsp; + if (jj_3R_30()) jj_scanpos = xsp; return false; } - private boolean jj_3R_28() { + private boolean jj_3R_29() { if (jj_scan_token(22)) return true; - if (jj_3R_27()) return true; + if (jj_3R_28()) return true; return false; } - private boolean jj_3R_83() { + private boolean jj_3R_85() { if (jj_scan_token(41)) return true; - if (jj_3R_17()) return true; + if (jj_3R_18()) return true; return false; } - private boolean jj_3R_32() { - if (jj_3R_33()) return true; + private boolean jj_3R_33() { + if (jj_3R_34()) return true; Token xsp; xsp = jj_scanpos; - if (jj_3R_34()) jj_scanpos = xsp; + if (jj_3R_35()) jj_scanpos = xsp; return false; } - private boolean jj_3R_30() { + private boolean jj_3R_31() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(12)) jj_scanpos = xsp; - if (jj_3R_32()) return true; + if (jj_3R_33()) return true; return false; } - private boolean jj_3R_80() { + private boolean jj_3R_82() { if (jj_scan_token(69)) return true; - if (jj_3R_79()) return true; + if (jj_3R_81()) return true; return false; } - private boolean jj_3R_27() { - if (jj_3R_30()) return true; + private boolean jj_3R_28() { + if (jj_3R_31()) return true; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_31()) { jj_scanpos = xsp; break; } + if (jj_3R_32()) { jj_scanpos = xsp; break; } } return false; } - private boolean jj_3R_64() { + private boolean jj_3R_65() { if (jj_scan_token(26)) return true; - if (jj_3R_13()) return true; + if (jj_3R_14()) return true; if (jj_scan_token(60)) return true; Token xsp; xsp = jj_scanpos; - if (jj_3R_68()) jj_scanpos = xsp; + if (jj_3R_69()) jj_scanpos = xsp; if (jj_scan_token(61)) return true; return false; } - private boolean jj_3R_57() { + private boolean jj_3R_58() { if (jj_scan_token(66)) return true; - if (jj_3R_51()) return true; + if (jj_3R_52()) return true; return false; } - private boolean jj_3R_25() { - if (jj_3R_27()) return true; + private boolean jj_3R_26() { + if (jj_3R_28()) return true; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_28()) { jj_scanpos = xsp; break; } + if (jj_3R_29()) { jj_scanpos = xsp; break; } } return false; } - private boolean jj_3R_79() { - if (jj_3R_15()) return true; + private boolean jj_3R_81() { + if (jj_3R_16()) return true; Token xsp; xsp = jj_scanpos; - if (jj_3R_83()) jj_scanpos = xsp; + if (jj_3R_85()) jj_scanpos = xsp; return false; } - private boolean jj_3R_23() { - if (jj_3R_25()) return true; + private boolean jj_3R_24() { + if (jj_3R_26()) return true; Token xsp; xsp = jj_scanpos; - if (jj_3R_26()) jj_scanpos = xsp; + if (jj_3R_27()) jj_scanpos = xsp; return false; } private boolean jj_3_2() { - if (jj_3R_14()) return true; + if (jj_3R_15()) return true; return false; } - private boolean jj_3R_75() { - if (jj_3R_79()) return true; + private boolean jj_3R_77() { + if (jj_3R_81()) return true; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_80()) { jj_scanpos = xsp; break; } + if (jj_3R_82()) { jj_scanpos = xsp; break; } } return false; } - private boolean jj_3R_21() { + private boolean jj_3R_22() { if (jj_scan_token(31)) return true; - if (jj_3R_17()) return true; + if (jj_3R_18()) return true; if (jj_scan_token(28)) return true; - if (jj_3R_17()) return true; + if (jj_3R_18()) return true; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_24()) { jj_scanpos = xsp; break; } + if (jj_3R_25()) { jj_scanpos = xsp; break; } } if (jj_scan_token(15)) return true; - if (jj_3R_17()) return true; + if (jj_3R_18()) return true; return false; } - private boolean jj_3R_63() { - if (jj_3R_17()) return true; + private boolean jj_3R_64() { + if (jj_3R_18()) return true; return false; } - private boolean jj_3R_17() { + private boolean jj_3R_18() { Token xsp; xsp = jj_scanpos; - if (jj_3R_20()) { + if (jj_3R_21()) { jj_scanpos = xsp; - if (jj_3R_21()) return true; + if (jj_3R_22()) return true; } return false; } - private boolean jj_3R_20() { - if (jj_3R_23()) return true; + private boolean jj_3R_21() { + if (jj_3R_24()) return true; return false; } - private boolean jj_3R_60() { + private boolean jj_3R_61() { Token xsp; xsp = jj_scanpos; - if (jj_3R_63()) { + if (jj_3R_64()) { jj_scanpos = xsp; - if (jj_3R_64()) return true; + if (jj_3R_65()) return true; } xsp = jj_scanpos; - if (jj_3R_65()) jj_scanpos = xsp; + if (jj_3R_66()) jj_scanpos = xsp; return false; } - private boolean jj_3R_54() { + private boolean jj_3R_55() { Token xsp; xsp = jj_scanpos; - if (jj_3R_59()) { + if (jj_3R_60()) { jj_scanpos = xsp; - if (jj_3R_60()) return true; + if (jj_3R_61()) return true; } return false; } - private boolean jj_3R_59() { - if (jj_3R_14()) return true; + private boolean jj_3R_60() { + if (jj_3R_15()) return true; Token xsp; xsp = jj_scanpos; - if (jj_3R_62()) jj_scanpos = xsp; + if (jj_3R_63()) jj_scanpos = xsp; return false; } - private boolean jj_3R_55() { - if (jj_3R_54()) return true; + private boolean jj_3R_56() { + if (jj_3R_55()) return true; return false; } - private boolean jj_3R_50() { + private boolean jj_3R_51() { if (jj_scan_token(60)) return true; Token xsp; xsp = jj_scanpos; - if (jj_3R_55()) jj_scanpos = xsp; + if (jj_3R_56()) jj_scanpos = xsp; if (jj_scan_token(61)) return true; return false; } - private boolean jj_3R_56() { - if (jj_3R_61()) return true; + private boolean jj_3R_57() { + if (jj_3R_62()) return true; return false; } - private boolean jj_3R_78() { + private boolean jj_3R_80() { if (jj_scan_token(69)) return true; - if (jj_3R_76()) return true; + if (jj_3R_78()) return true; return false; } - private boolean jj_3R_51() { - if (jj_3R_15()) return true; + private boolean jj_3R_52() { + if (jj_3R_16()) return true; Token xsp; xsp = jj_scanpos; - if (jj_3R_56()) jj_scanpos = xsp; - xsp = jj_scanpos; if (jj_3R_57()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_3R_58()) jj_scanpos = xsp; return false; } - private boolean jj_3R_77() { + private boolean jj_3R_79() { if (jj_scan_token(67)) return true; - if (jj_3R_76()) return true; + if (jj_3R_78()) return true; return false; } - private boolean jj_3R_16() { + private boolean jj_3R_17() { if (jj_scan_token(66)) return true; - if (jj_3R_13()) return true; + if (jj_3R_14()) return true; return false; } - private boolean jj_3R_82() { - if (jj_3R_15()) return true; + private boolean jj_3R_84() { + if (jj_3R_16()) return true; return false; } - private boolean jj_3R_81() { + private boolean jj_3R_71() { + if (jj_scan_token(21)) return true; + if (jj_3R_77()) return true; + return false; + } + + private boolean jj_3R_83() { if (jj_scan_token(UNSIGNED_INTEGER)) return true; return false; } - private boolean jj_3R_13() { - if (jj_3R_15()) return true; + private boolean jj_3R_14() { + if (jj_3R_16()) return true; Token xsp; xsp = jj_scanpos; - if (jj_3R_16()) jj_scanpos = xsp; + if (jj_3R_17()) jj_scanpos = xsp; return false; } - private boolean jj_3R_76() { + private boolean jj_3R_78() { Token xsp; xsp = jj_scanpos; - if (jj_3R_81()) { + if (jj_3R_83()) { jj_scanpos = xsp; - if (jj_3R_82()) return true; + if (jj_3R_84()) return true; } return false; } - private boolean jj_3R_19() { + private boolean jj_3R_20() { if (jj_scan_token(QIDENT)) return true; return false; } - private boolean jj_3R_70() { - if (jj_scan_token(21)) return true; - if (jj_3R_75()) return true; - return false; - } - - private boolean jj_3R_53() { + private boolean jj_3R_54() { if (jj_scan_token(68)) return true; - if (jj_3R_52()) return true; + if (jj_3R_53()) return true; return false; } - private boolean jj_3R_74() { + private boolean jj_3R_75() { if (jj_scan_token(62)) return true; - if (jj_3R_76()) return true; + if (jj_3R_78()) return true; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_78()) { jj_scanpos = xsp; break; } + if (jj_3R_80()) { jj_scanpos = xsp; break; } } if (jj_scan_token(63)) return true; return false; } private boolean jj_3_3() { - if (jj_3R_13()) return true; + if (jj_3R_14()) return true; if (jj_scan_token(60)) return true; return false; } - private boolean jj_3R_67() { + private boolean jj_3R_66() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_70()) { + jj_scanpos = xsp; + if (jj_3R_71()) return true; + } + return false; + } + + private boolean jj_3R_68() { if (jj_scan_token(69)) return true; - if (jj_3R_66()) return true; + if (jj_3R_67()) return true; return false; } - private boolean jj_3R_73() { - if (jj_3R_76()) return true; + private boolean jj_3R_70() { + if (jj_scan_token(69)) return true; + if (jj_3R_55()) return true; + return false; + } + + private boolean jj_3R_74() { + if (jj_3R_78()) return true; Token xsp; xsp = jj_scanpos; - if (jj_3R_77()) jj_scanpos = xsp; + if (jj_3R_79()) jj_scanpos = xsp; return false; } - private boolean jj_3R_22() { - if (jj_3R_15()) return true; + private boolean jj_3R_23() { + if (jj_3R_16()) return true; return false; } - private boolean jj_3R_72() { - if (jj_3R_13()) return true; - if (jj_3R_50()) return true; + private boolean jj_3R_73() { + if (jj_3R_14()) return true; + if (jj_3R_51()) return true; return false; } - private boolean jj_3R_15() { + private boolean jj_3R_16() { Token xsp; xsp = jj_scanpos; - if (jj_3R_18()) { + if (jj_3R_19()) { jj_scanpos = xsp; - if (jj_3R_19()) return true; + if (jj_3R_20()) return true; } return false; } - private boolean jj_3R_18() { + private boolean jj_3R_19() { if (jj_scan_token(IDENT)) return true; Token xsp; xsp = jj_scanpos; - if (jj_3R_22()) jj_scanpos = xsp; + if (jj_3R_23()) jj_scanpos = xsp; return false; } private boolean jj_3_1() { - if (jj_3R_13()) return true; + if (jj_3R_14()) return true; if (jj_scan_token(60)) return true; return false; } - private boolean jj_3R_49() { + private boolean jj_3R_50() { if (jj_scan_token(62)) return true; - if (jj_3R_54()) return true; + if (jj_3R_55()) return true; if (jj_scan_token(63)) return true; return false; } - private boolean jj_3R_66() { + private boolean jj_3R_67() { Token xsp; xsp = jj_scanpos; - if (jj_3R_71()) { - jj_scanpos = xsp; if (jj_3R_72()) { jj_scanpos = xsp; if (jj_3R_73()) { jj_scanpos = xsp; - if (jj_3R_74()) return true; + if (jj_3R_74()) { + jj_scanpos = xsp; + if (jj_3R_75()) return true; } } } return false; } - private boolean jj_3R_71() { + private boolean jj_3R_72() { if (jj_scan_token(67)) return true; return false; } - private boolean jj_3R_48() { + private boolean jj_3R_49() { if (jj_scan_token(64)) return true; - if (jj_3R_52()) return true; + if (jj_3R_53()) return true; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_53()) { jj_scanpos = xsp; break; } + if (jj_3R_54()) { jj_scanpos = xsp; break; } } if (jj_scan_token(65)) return true; return false; } - private boolean jj_3R_47() { + private boolean jj_3R_48() { if (jj_scan_token(60)) return true; - if (jj_3R_17()) return true; + if (jj_3R_18()) return true; if (jj_scan_token(61)) return true; return false; } - private boolean jj_3R_65() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_69()) { - jj_scanpos = xsp; - if (jj_3R_70()) return true; - } - return false; - } - - private boolean jj_3R_69() { - if (jj_scan_token(69)) return true; - if (jj_3R_54()) return true; + private boolean jj_3R_47() { + if (jj_3R_52()) return true; return false; } private boolean jj_3R_46() { + if (jj_3R_14()) return true; if (jj_3R_51()) return true; return false; } - private boolean jj_3R_45() { - if (jj_3R_13()) return true; - if (jj_3R_50()) return true; - return false; - } - - private boolean jj_3R_58() { + private boolean jj_3R_59() { if (jj_scan_token(69)) return true; - if (jj_3R_17()) return true; + if (jj_3R_18()) return true; return false; } - private boolean jj_3R_43() { + private boolean jj_3R_44() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(84)) { jj_scanpos = xsp; if (jj_scan_token(85)) return true; } - if (jj_3R_42()) return true; + if (jj_3R_43()) return true; return false; } - private boolean jj_3R_61() { + private boolean jj_3R_62() { if (jj_scan_token(64)) return true; - if (jj_3R_66()) return true; + if (jj_3R_67()) return true; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_67()) { jj_scanpos = xsp; break; } + if (jj_3R_68()) { jj_scanpos = xsp; break; } } if (jj_scan_token(65)) return true; return false; } - private boolean jj_3R_42() { + private boolean jj_3R_43() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(92)) { @@ -1496,8 +1509,6 @@ void named_arguments() : { jj_scanpos = xsp; if (jj_scan_token(33)) { jj_scanpos = xsp; - if (jj_3R_45()) { - jj_scanpos = xsp; if (jj_3R_46()) { jj_scanpos = xsp; if (jj_3R_47()) { @@ -1506,6 +1517,8 @@ void named_arguments() : { jj_scanpos = xsp; if (jj_3R_49()) { jj_scanpos = xsp; + if (jj_3R_50()) { + jj_scanpos = xsp; if (jj_scan_token(35)) return true; } } @@ -1520,19 +1533,25 @@ void named_arguments() : { return false; } - private boolean jj_3R_29() { + private boolean jj_3R_76() { + if (jj_scan_token(69)) return true; + if (jj_3R_15()) return true; + return false; + } + + private boolean jj_3R_30() { if (jj_scan_token(67)) return true; - if (jj_3R_25()) return true; + if (jj_3R_26()) return true; return false; } - private boolean jj_3R_41() { - if (jj_3R_44()) return true; - if (jj_3R_40()) return true; + private boolean jj_3R_42() { + if (jj_3R_45()) return true; + if (jj_3R_41()) return true; return false; } - private boolean jj_3R_44() { + private boolean jj_3R_45() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(80)) { @@ -1548,74 +1567,78 @@ void named_arguments() : { return false; } - private boolean jj_3R_37() { - if (jj_3R_39()) return true; - if (jj_3R_36()) return true; + private boolean jj_3R_38() { + if (jj_3R_40()) return true; + if (jj_3R_37()) return true; return false; } - private boolean jj_3R_34() { - if (jj_3R_38()) return true; - if (jj_3R_33()) return true; + private boolean jj_3R_35() { + if (jj_3R_39()) return true; + if (jj_3R_34()) return true; return false; } - private boolean jj_3R_40() { - if (jj_3R_42()) return true; + private boolean jj_3R_41() { + if (jj_3R_43()) return true; Token xsp; xsp = jj_scanpos; - if (jj_3R_43()) jj_scanpos = xsp; + if (jj_3R_44()) jj_scanpos = xsp; return false; } - private boolean jj_3R_52() { - if (jj_3R_17()) return true; + private boolean jj_3R_53() { + if (jj_3R_18()) return true; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_58()) { jj_scanpos = xsp; break; } + if (jj_3R_59()) { jj_scanpos = xsp; break; } } return false; } - private boolean jj_3R_62() { + private boolean jj_3R_63() { if (jj_scan_token(69)) return true; - if (jj_3R_54()) return true; + if (jj_3R_55()) return true; return false; } - private boolean jj_3R_36() { - if (jj_3R_40()) return true; + private boolean jj_3R_37() { + if (jj_3R_41()) return true; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_41()) { jj_scanpos = xsp; break; } + if (jj_3R_42()) { jj_scanpos = xsp; break; } } return false; } - private boolean jj_3R_24() { + private boolean jj_3R_25() { if (jj_scan_token(20)) return true; - if (jj_3R_17()) return true; + if (jj_3R_18()) return true; if (jj_scan_token(28)) return true; - if (jj_3R_17()) return true; + if (jj_3R_18()) return true; return false; } - private boolean jj_3R_14() { - if (jj_3R_15()) return true; + private boolean jj_3R_15() { + if (jj_3R_16()) return true; if (jj_scan_token(86)) return true; - if (jj_3R_17()) return true; + if (jj_3R_18()) return true; return false; } - private boolean jj_3R_68() { - if (jj_scan_token(69)) return true; - if (jj_3R_14()) return true; + private boolean jj_3R_69() { + if (jj_3R_15()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_76()) { jj_scanpos = xsp; break; } + } return false; } - private boolean jj_3R_39() { + private boolean jj_3R_40() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(76)) { @@ -1642,7 +1665,7 @@ void named_arguments() : { private Token jj_scanpos, jj_lastpos; private int jj_la; private int jj_gen; - final private int[] jj_la1 = new int[45]; + final private int[] jj_la1 = new int[46]; static private int[] jj_la1_0; static private int[] jj_la1_1; static private int[] jj_la1_2; @@ -1652,13 +1675,13 @@ void named_arguments() : { jj_la1_init_2(); } private static void jj_la1_init_0() { - jj_la1_0 = new int[] {0x100000,0x80001040,0x100000,0x80001040,0x0,0x0,0x400000,0x200,0x1000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x0,0x0,0x84001040,0x0,0x0,0x84001040,0x200000,0x200000,0x84001040,0x0,0x0,0x80001040,0x0,0x80001040,0x0,0x0,0x0,0x0,0x0,0x0,0x0,}; + jj_la1_0 = new int[] {0x100000,0x80001040,0x100000,0x80001040,0x0,0x0,0x400000,0x200,0x1000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x0,0x0,0x84001040,0x0,0x0,0x0,0x84001040,0x200000,0x200000,0x84001040,0x0,0x0,0x80001040,0x0,0x80001040,0x0,0x0,0x0,0x0,0x0,0x0,0x0,}; } private static void jj_la1_init_1() { - jj_la1_1 = new int[] {0x0,0x5000000a,0x0,0x5000000a,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x50000008,0x0,0x0,0x0,0x0,0x0,0x5000000a,0x0,0x0,0x5000000a,0x0,0x0,0x5000000a,0x0,0x200,0x5000000a,0x0,0x5000000a,0x0,0x0,0x0,0x0,0x0,0x40000000,0x0,}; + jj_la1_1 = new int[] {0x0,0x5000000a,0x0,0x5000000a,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x50000008,0x0,0x0,0x0,0x0,0x0,0x5000000a,0x0,0x0,0x0,0x5000000a,0x0,0x0,0x5000000a,0x0,0x200,0x5000000a,0x0,0x5000000a,0x0,0x0,0x0,0x0,0x0,0x40000000,0x0,}; } private static void jj_la1_init_2() { - jj_la1_2 = new int[] {0x0,0x1f00f001,0x0,0x1f00f001,0x8,0x8,0x0,0x0,0x0,0xfc0,0xfc0,0xf000,0xf000,0xf000,0xf0000,0x300000,0x300000,0xf0000,0x10,0x1c000000,0x3000001,0x3000000,0x3000000,0x4,0x1,0x4,0x1f00f001,0x20,0x20,0x1f00f001,0x20,0x20,0x1f00f001,0x20,0x0,0x1f00f001,0x20,0x1f00f001,0x20,0x20,0x8,0x20,0x8,0xb000000,0xb000000,}; + jj_la1_2 = new int[] {0x0,0x1f00f001,0x0,0x1f00f001,0x8,0x8,0x0,0x0,0x0,0xfc0,0xfc0,0xf000,0xf000,0xf000,0xf0000,0x300000,0x300000,0xf0000,0x10,0x1c000000,0x3000001,0x3000000,0x3000000,0x4,0x1,0x4,0x1f00f001,0x20,0x20,0x3000000,0x1f00f001,0x20,0x20,0x1f00f001,0x20,0x0,0x1f00f001,0x20,0x1f00f001,0x20,0x20,0x8,0x20,0x8,0xb000000,0xb000000,}; } final private JJCalls[] jj_2_rtns = new JJCalls[3]; private boolean jj_rescan = false; @@ -1675,7 +1698,7 @@ void named_arguments() : { token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 45; i++) jj_la1[i] = -1; + for (int i = 0; i < 46; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -1690,7 +1713,7 @@ void named_arguments() : { token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 45; i++) jj_la1[i] = -1; + for (int i = 0; i < 46; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -1701,7 +1724,7 @@ void named_arguments() : { token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 45; i++) jj_la1[i] = -1; + for (int i = 0; i < 46; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -1712,7 +1735,7 @@ void named_arguments() : { token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 45; i++) jj_la1[i] = -1; + for (int i = 0; i < 46; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -1722,7 +1745,7 @@ void named_arguments() : { token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 45; i++) jj_la1[i] = -1; + for (int i = 0; i < 46; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -1732,7 +1755,7 @@ void named_arguments() : { token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 45; i++) jj_la1[i] = -1; + for (int i = 0; i < 46; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -1849,7 +1872,7 @@ void named_arguments() : { la1tokens[jj_kind] = true; jj_kind = -1; } - for (int i = 0; i < 45; i++) { + for (int i = 0; i < 46; i++) { if (jj_la1[i] == jj_gen) { for (int j = 0; j < 32; j++) { if ((jj_la1_0[i] & (1<