fixed reduce-reduce conflicts
This commit is contained in:
parent
40639767d7
commit
291cf2ed3a
|
|
@ -1,9 +1,9 @@
|
|||
//
|
||||
// This CSharp output file generated by Gardens Point LEX
|
||||
// Version: 1.1.3.301
|
||||
// Machine: DESKTOP-A6LT9RI
|
||||
// DateTime: 25.09.2018 22:16:16
|
||||
// UserName: ?????????
|
||||
// Machine: IVAN-PC
|
||||
// DateTime: 30.09.2018 11:51:35
|
||||
// UserName: Ivan
|
||||
// GPLEX input file <ABCPascal.lex>
|
||||
// GPLEX frame file <embedded resource>
|
||||
//
|
||||
|
|
|
|||
|
|
@ -4144,8 +4144,6 @@ keyword
|
|||
{ $$ = $1; }
|
||||
| tkMatch
|
||||
{ $$ = $1; }
|
||||
| tkStatic
|
||||
{ $$ = $1; }
|
||||
| tkWhen
|
||||
{ $$ = $1; }/*
|
||||
| tkInstance
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// (see accompanying GPPGcopyright.rtf)
|
||||
|
||||
// GPPG version 1.3.6
|
||||
// Machine: DESKTOP-A6LT9RI
|
||||
// DateTime: 25.09.2018 22:16:17
|
||||
// UserName: ?????????
|
||||
// Machine: IVAN-PC
|
||||
// DateTime: 30.09.2018 11:51:36
|
||||
// UserName: Ivan
|
||||
// Input file <ABCPascal.y>
|
||||
|
||||
// options: no-lines gplex
|
||||
|
|
@ -74,7 +74,7 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
#pragma warning disable 649
|
||||
private static Dictionary<int, string> aliasses;
|
||||
#pragma warning restore 649
|
||||
private static Rule[] rules = new Rule[897];
|
||||
private static Rule[] rules = new Rule[896];
|
||||
private static State[] states = new State[1471];
|
||||
private static string[] nonTerms = new string[] {
|
||||
"parse_goal", "unit_key_word", "class_or_static", "assignment", "optional_array_initializer",
|
||||
|
|
@ -265,10 +265,10 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
states[103] = new State(-815);
|
||||
states[104] = new State(-816);
|
||||
states[105] = new State(-817);
|
||||
states[106] = new State(-819);
|
||||
states[106] = new State(-818);
|
||||
states[107] = new State(-726);
|
||||
states[108] = new State(-820);
|
||||
states[109] = new State(-821);
|
||||
states[108] = new State(-819);
|
||||
states[109] = new State(-820);
|
||||
states[110] = new State(new int[]{137,111});
|
||||
states[111] = new State(-41);
|
||||
states[112] = new State(-34);
|
||||
|
|
@ -510,34 +510,34 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
states[348] = new State(-687);
|
||||
states[349] = new State(new int[]{108,351,109,352,110,353,111,354,113,355,114,356,115,357,116,358,117,359,118,360,121,361,122,362,123,363,124,364,125,365,126,366,127,367,128,368,130,369,132,370,133,371,103,373,104,374,105,375,106,376,107,377,112,378},new int[]{-184,350,-178,372});
|
||||
states[350] = new State(-714);
|
||||
states[351] = new State(-822);
|
||||
states[352] = new State(-823);
|
||||
states[353] = new State(-824);
|
||||
states[354] = new State(-825);
|
||||
states[355] = new State(-826);
|
||||
states[356] = new State(-827);
|
||||
states[357] = new State(-828);
|
||||
states[358] = new State(-829);
|
||||
states[359] = new State(-830);
|
||||
states[360] = new State(-831);
|
||||
states[361] = new State(-832);
|
||||
states[362] = new State(-833);
|
||||
states[363] = new State(-834);
|
||||
states[364] = new State(-835);
|
||||
states[365] = new State(-836);
|
||||
states[366] = new State(-837);
|
||||
states[367] = new State(-838);
|
||||
states[368] = new State(-839);
|
||||
states[369] = new State(-840);
|
||||
states[370] = new State(-841);
|
||||
states[371] = new State(-842);
|
||||
states[372] = new State(-843);
|
||||
states[373] = new State(-845);
|
||||
states[374] = new State(-846);
|
||||
states[375] = new State(-847);
|
||||
states[376] = new State(-848);
|
||||
states[377] = new State(-849);
|
||||
states[378] = new State(-844);
|
||||
states[351] = new State(-821);
|
||||
states[352] = new State(-822);
|
||||
states[353] = new State(-823);
|
||||
states[354] = new State(-824);
|
||||
states[355] = new State(-825);
|
||||
states[356] = new State(-826);
|
||||
states[357] = new State(-827);
|
||||
states[358] = new State(-828);
|
||||
states[359] = new State(-829);
|
||||
states[360] = new State(-830);
|
||||
states[361] = new State(-831);
|
||||
states[362] = new State(-832);
|
||||
states[363] = new State(-833);
|
||||
states[364] = new State(-834);
|
||||
states[365] = new State(-835);
|
||||
states[366] = new State(-836);
|
||||
states[367] = new State(-837);
|
||||
states[368] = new State(-838);
|
||||
states[369] = new State(-839);
|
||||
states[370] = new State(-840);
|
||||
states[371] = new State(-841);
|
||||
states[372] = new State(-842);
|
||||
states[373] = new State(-844);
|
||||
states[374] = new State(-845);
|
||||
states[375] = new State(-846);
|
||||
states[376] = new State(-847);
|
||||
states[377] = new State(-848);
|
||||
states[378] = new State(-843);
|
||||
states[379] = new State(new int[]{136,23,79,25,80,26,74,28,72,29},new int[]{-130,380,-134,24,-135,27});
|
||||
states[380] = new State(-688);
|
||||
states[381] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,5,638},new int[]{-81,382,-91,384,-90,132,-89,287,-93,295,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-105,637});
|
||||
|
|
@ -545,20 +545,20 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
states[383] = new State(-689);
|
||||
states[384] = new State(new int[]{93,385,13,128,9,-573});
|
||||
states[385] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249},new int[]{-73,386,-91,909,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595});
|
||||
states[386] = new State(new int[]{93,907,5,398,10,-869,9,-869},new int[]{-304,387});
|
||||
states[387] = new State(new int[]{10,390,9,-857},new int[]{-310,388});
|
||||
states[386] = new State(new int[]{93,907,5,398,10,-868,9,-868},new int[]{-304,387});
|
||||
states[387] = new State(new int[]{10,390,9,-856},new int[]{-310,388});
|
||||
states[388] = new State(new int[]{9,389});
|
||||
states[389] = new State(-662);
|
||||
states[390] = new State(new int[]{136,23,79,25,80,26,74,28,72,29},new int[]{-306,391,-307,814,-141,394,-130,693,-134,24,-135,27});
|
||||
states[391] = new State(new int[]{10,392,9,-858});
|
||||
states[391] = new State(new int[]{10,392,9,-857});
|
||||
states[392] = new State(new int[]{136,23,79,25,80,26,74,28,72,29},new int[]{-307,393,-141,394,-130,693,-134,24,-135,27});
|
||||
states[393] = new State(-867);
|
||||
states[394] = new State(new int[]{93,396,5,398,10,-869,9,-869},new int[]{-304,395});
|
||||
states[395] = new State(-868);
|
||||
states[393] = new State(-866);
|
||||
states[394] = new State(new int[]{93,396,5,398,10,-868,9,-868},new int[]{-304,395});
|
||||
states[395] = new State(-867);
|
||||
states[396] = new State(new int[]{136,23,79,25,80,26,74,28,72,29},new int[]{-130,397,-134,24,-135,27});
|
||||
states[397] = new State(-332);
|
||||
states[398] = new State(new int[]{136,403,79,25,80,26,74,28,72,29,147,154,149,155,148,156,109,331,108,332,137,149,139,150,138,152,8,433,135,437,20,442,44,450,45,512,30,516,70,520,61,523,40,528,33,543},new int[]{-257,399,-258,400,-255,401,-85,175,-94,264,-95,265,-164,266,-130,196,-134,24,-135,27,-15,428,-183,429,-148,432,-150,147,-149,151,-238,435,-231,436,-263,439,-264,440,-260,441,-253,448,-27,449,-246,511,-113,515,-114,519,-209,525,-207,526,-206,527,-283,547});
|
||||
states[399] = new State(-870);
|
||||
states[399] = new State(-869);
|
||||
states[400] = new State(-465);
|
||||
states[401] = new State(new int[]{13,402,113,-213,93,-213,9,-213,10,-213,120,-213,114,-213,103,-213,85,-213,91,-213,94,-213,29,-213,97,-213,28,-213,12,-213,92,-213,80,-213,79,-213,2,-213,78,-213,77,-213,76,-213,75,-213,130,-213});
|
||||
states[402] = new State(-214);
|
||||
|
|
@ -750,13 +750,13 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
states[588] = new State(-567);
|
||||
states[589] = new State(new int[]{120,590,11,-686,16,-686,8,-686,7,-686,135,-686,4,-686,14,-686,131,-686,129,-686,111,-686,110,-686,124,-686,125,-686,126,-686,127,-686,123,-686,5,-686,109,-686,108,-686,121,-686,122,-686,119,-686,113,-686,118,-686,116,-686,114,-686,117,-686,115,-686,130,-686,15,-686,13,-686,85,-686,10,-686,91,-686,94,-686,29,-686,97,-686,28,-686,93,-686,12,-686,9,-686,92,-686,80,-686,79,-686,2,-686,78,-686,77,-686,76,-686,75,-686,112,-686});
|
||||
states[590] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,84,116,36,598,50,645,90,633,31,650,32,676,21,616,95,666,56,710,71,766},new int[]{-308,591,-91,592,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-237,596,-136,597,-298,703,-229,704,-107,705,-106,706,-31,707,-284,708,-152,709,-109,765});
|
||||
states[591] = new State(-850);
|
||||
states[592] = new State(new int[]{13,128,85,-873,10,-873,91,-873,94,-873,29,-873,97,-873,28,-873,93,-873,12,-873,9,-873,92,-873,80,-873,79,-873,2,-873,78,-873,77,-873,76,-873,75,-873});
|
||||
states[591] = new State(-849);
|
||||
states[592] = new State(new int[]{13,128,85,-872,10,-872,91,-872,94,-872,29,-872,97,-872,28,-872,93,-872,12,-872,9,-872,92,-872,80,-872,79,-872,2,-872,78,-872,77,-872,76,-872,75,-872});
|
||||
states[593] = new State(new int[]{109,300,108,301,121,302,122,303,119,304,113,-601,118,-601,116,-601,114,-601,117,-601,115,-601,130,-601,15,-601,5,-601,13,-601,85,-601,10,-601,91,-601,94,-601,29,-601,97,-601,28,-601,93,-601,12,-601,9,-601,92,-601,80,-601,79,-601,2,-601,78,-601,77,-601,76,-601,75,-601,6,-601,47,-601,54,-601,134,-601,136,-601,74,-601,72,-601,41,-601,38,-601,8,-601,17,-601,18,-601,137,-601,139,-601,138,-601,147,-601,149,-601,148,-601,53,-601,84,-601,36,-601,21,-601,90,-601,50,-601,31,-601,51,-601,95,-601,43,-601,32,-601,49,-601,56,-601,71,-601,69,-601,34,-601,67,-601,68,-601},new int[]{-181,137});
|
||||
states[594] = new State(-643);
|
||||
states[595] = new State(-576);
|
||||
states[596] = new State(-874);
|
||||
states[597] = new State(-875);
|
||||
states[596] = new State(-873);
|
||||
states[597] = new State(-874);
|
||||
states[598] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249},new int[]{-91,599,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595});
|
||||
states[599] = new State(new int[]{47,600,13,128});
|
||||
states[600] = new State(new int[]{134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,478,8,479,17,244,18,249,137,149,139,150,138,152,147,154,149,155,148,156,53,608,84,116,36,598,21,616,90,633,50,645,31,650,51,660,95,666,43,673,32,676,49,684,56,710,71,719,69,725,34,730,85,-473,10,-473,91,-473,94,-473,29,-473,97,-473,28,-473,93,-473,12,-473,9,-473,92,-473,2,-473,78,-473,77,-473,76,-473,75,-473},new int[]{-243,601,-4,122,-100,123,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-14,604,-148,146,-150,147,-149,151,-15,153,-53,605,-103,494,-195,606,-116,607,-237,613,-136,614,-31,615,-229,632,-298,644,-107,649,-299,659,-143,664,-284,665,-230,672,-106,675,-294,683,-54,714,-158,715,-157,716,-152,717,-109,718,-110,723,-108,724,-320,729});
|
||||
|
|
@ -862,13 +862,13 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
states[700] = new State(new int[]{120,701,4,-157,7,-157,135,-157,8,-157,11,-157,112,-157,129,-157,131,-157,111,-157,110,-157,124,-157,125,-157,126,-157,127,-157,123,-157,109,-157,108,-157,121,-157,122,-157,113,-157,118,-157,116,-157,114,-157,117,-157,115,-157,130,-157,13,-157,85,-157,10,-157,91,-157,94,-157,29,-157,97,-157,28,-157,93,-157,12,-157,9,-157,92,-157,80,-157,79,-157,2,-157,78,-157,77,-157,76,-157,75,-157});
|
||||
states[701] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,84,116,36,598,50,645,90,633,31,650,32,676,21,616,95,666,56,710,71,766},new int[]{-308,702,-91,592,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-237,596,-136,597,-298,703,-229,704,-107,705,-106,706,-31,707,-284,708,-152,709,-109,765});
|
||||
states[702] = new State(-398);
|
||||
states[703] = new State(-876);
|
||||
states[704] = new State(-877);
|
||||
states[705] = new State(-878);
|
||||
states[706] = new State(-879);
|
||||
states[707] = new State(-880);
|
||||
states[708] = new State(-881);
|
||||
states[709] = new State(-882);
|
||||
states[703] = new State(-875);
|
||||
states[704] = new State(-876);
|
||||
states[705] = new State(-877);
|
||||
states[706] = new State(-878);
|
||||
states[707] = new State(-879);
|
||||
states[708] = new State(-880);
|
||||
states[709] = new State(-881);
|
||||
states[710] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249},new int[]{-91,711,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595});
|
||||
states[711] = new State(new int[]{92,712,13,128});
|
||||
states[712] = new State(new int[]{134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,478,8,479,17,244,18,249,137,149,139,150,138,152,147,154,149,155,148,156,53,608,84,116,36,598,21,616,90,633,50,645,31,650,51,660,95,666,43,673,32,676,49,684,56,710,71,719,69,725,34,730,85,-473,10,-473,91,-473,94,-473,29,-473,97,-473,28,-473,93,-473,12,-473,9,-473,92,-473,2,-473,78,-473,77,-473,76,-473,75,-473},new int[]{-243,713,-4,122,-100,123,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-14,604,-148,146,-150,147,-149,151,-15,153,-53,605,-103,494,-195,606,-116,607,-237,613,-136,614,-31,615,-229,632,-298,644,-107,649,-299,659,-143,664,-284,665,-230,672,-106,675,-294,683,-54,714,-158,715,-157,716,-152,717,-109,718,-110,723,-108,724,-320,729});
|
||||
|
|
@ -924,7 +924,7 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
states[762] = new State(-608);
|
||||
states[763] = new State(-606);
|
||||
states[764] = new State(-516);
|
||||
states[765] = new State(-883);
|
||||
states[765] = new State(-882);
|
||||
states[766] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249},new int[]{-91,720,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595});
|
||||
states[767] = new State(new int[]{9,779,136,23,79,25,80,26,74,28,72,226,38,241,17,244,18,249,11,408,147,154,149,155,148,156,137,149,139,150,138,152,52,414,134,415,8,784,128,420,109,331,108,332,59,158},new int[]{-83,768,-61,769,-225,773,-87,775,-227,777,-75,191,-12,214,-10,224,-13,201,-130,783,-134,24,-135,27,-239,243,-277,248,-222,407,-15,412,-148,413,-150,147,-149,151,-183,422,-157,424,-248,425,-252,426,-224,427,-60,236,-79,787,-78,239,-52,788,-226,789,-228,798,-119,792});
|
||||
states[768] = new State(new int[]{9,419,13,187,93,-180});
|
||||
|
|
@ -938,7 +938,7 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
states[776] = new State(-185);
|
||||
states[777] = new State(new int[]{9,778});
|
||||
states[778] = new State(-190);
|
||||
states[779] = new State(new int[]{5,398,120,-869},new int[]{-304,780});
|
||||
states[779] = new State(new int[]{5,398,120,-868},new int[]{-304,780});
|
||||
states[780] = new State(new int[]{120,781});
|
||||
states[781] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,84,116,36,598,50,645,90,633,31,650,32,676,21,616,95,666,56,710,71,766},new int[]{-308,782,-91,592,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-237,596,-136,597,-298,703,-229,704,-107,705,-106,706,-31,707,-284,708,-152,709,-109,765});
|
||||
states[782] = new State(-399);
|
||||
|
|
@ -959,46 +959,46 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
states[797] = new State(-196);
|
||||
states[798] = new State(-193);
|
||||
states[799] = new State(-397);
|
||||
states[800] = new State(new int[]{8,804,5,398,120,-869},new int[]{-304,801});
|
||||
states[800] = new State(new int[]{8,804,5,398,120,-868},new int[]{-304,801});
|
||||
states[801] = new State(new int[]{120,802});
|
||||
states[802] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,84,116,36,598,50,645,90,633,31,650,32,676,21,616,95,666,56,710,71,766},new int[]{-308,803,-91,592,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-237,596,-136,597,-298,703,-229,704,-107,705,-106,706,-31,707,-284,708,-152,709,-109,765});
|
||||
states[803] = new State(-860);
|
||||
states[803] = new State(-859);
|
||||
states[804] = new State(new int[]{9,805,136,23,79,25,80,26,74,28,72,29},new int[]{-306,809,-307,814,-141,394,-130,693,-134,24,-135,27});
|
||||
states[805] = new State(new int[]{5,398,120,-869},new int[]{-304,806});
|
||||
states[805] = new State(new int[]{5,398,120,-868},new int[]{-304,806});
|
||||
states[806] = new State(new int[]{120,807});
|
||||
states[807] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,84,116,36,598,50,645,90,633,31,650,32,676,21,616,95,666,56,710,71,766},new int[]{-308,808,-91,592,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-237,596,-136,597,-298,703,-229,704,-107,705,-106,706,-31,707,-284,708,-152,709,-109,765});
|
||||
states[808] = new State(-861);
|
||||
states[808] = new State(-860);
|
||||
states[809] = new State(new int[]{9,810,10,392});
|
||||
states[810] = new State(new int[]{5,398,120,-869},new int[]{-304,811});
|
||||
states[810] = new State(new int[]{5,398,120,-868},new int[]{-304,811});
|
||||
states[811] = new State(new int[]{120,812});
|
||||
states[812] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,84,116,36,598,50,645,90,633,31,650,32,676,21,616,95,666,56,710,71,766},new int[]{-308,813,-91,592,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-237,596,-136,597,-298,703,-229,704,-107,705,-106,706,-31,707,-284,708,-152,709,-109,765});
|
||||
states[813] = new State(-862);
|
||||
states[814] = new State(-866);
|
||||
states[813] = new State(-861);
|
||||
states[814] = new State(-865);
|
||||
states[815] = new State(new int[]{120,816,8,832});
|
||||
states[816] = new State(new int[]{134,341,136,23,79,25,80,26,74,28,72,29,41,349,38,379,8,819,17,244,18,249,137,149,139,150,138,152,147,154,149,155,148,156,84,116,36,598,50,645,90,633,31,650,32,676,21,616,95,666,56,710,71,766,43,673},new int[]{-309,817,-195,818,-100,123,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-14,604,-148,146,-150,147,-149,151,-15,153,-53,605,-103,494,-237,820,-136,821,-298,822,-229,823,-107,824,-106,825,-31,826,-284,827,-152,828,-109,829,-230,830,-4,831});
|
||||
states[817] = new State(-863);
|
||||
states[818] = new State(-884);
|
||||
states[817] = new State(-862);
|
||||
states[818] = new State(-883);
|
||||
states[819] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,5,638},new int[]{-81,382,-91,384,-99,480,-90,132,-89,287,-93,295,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-105,637});
|
||||
states[820] = new State(-885);
|
||||
states[821] = new State(-886);
|
||||
states[822] = new State(-887);
|
||||
states[823] = new State(-888);
|
||||
states[824] = new State(-889);
|
||||
states[825] = new State(-890);
|
||||
states[826] = new State(-891);
|
||||
states[827] = new State(-892);
|
||||
states[828] = new State(-893);
|
||||
states[829] = new State(-894);
|
||||
states[830] = new State(-895);
|
||||
states[831] = new State(-896);
|
||||
states[820] = new State(-884);
|
||||
states[821] = new State(-885);
|
||||
states[822] = new State(-886);
|
||||
states[823] = new State(-887);
|
||||
states[824] = new State(-888);
|
||||
states[825] = new State(-889);
|
||||
states[826] = new State(-890);
|
||||
states[827] = new State(-891);
|
||||
states[828] = new State(-892);
|
||||
states[829] = new State(-893);
|
||||
states[830] = new State(-894);
|
||||
states[831] = new State(-895);
|
||||
states[832] = new State(new int[]{9,833,136,23,79,25,80,26,74,28,72,29},new int[]{-306,836,-307,814,-141,394,-130,693,-134,24,-135,27});
|
||||
states[833] = new State(new int[]{120,834});
|
||||
states[834] = new State(new int[]{134,341,136,23,79,25,80,26,74,28,72,29,41,349,38,379,8,819,17,244,18,249,137,149,139,150,138,152,147,154,149,155,148,156,84,116,36,598,50,645,90,633,31,650,32,676,21,616,95,666,56,710,71,766,43,673},new int[]{-309,835,-195,818,-100,123,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-14,604,-148,146,-150,147,-149,151,-15,153,-53,605,-103,494,-237,820,-136,821,-298,822,-229,823,-107,824,-106,825,-31,826,-284,827,-152,828,-109,829,-230,830,-4,831});
|
||||
states[835] = new State(-864);
|
||||
states[835] = new State(-863);
|
||||
states[836] = new State(new int[]{9,837,10,392});
|
||||
states[837] = new State(new int[]{120,838});
|
||||
states[838] = new State(new int[]{134,341,136,23,79,25,80,26,74,28,72,29,41,349,38,379,8,819,17,244,18,249,137,149,139,150,138,152,147,154,149,155,148,156,84,116,36,598,50,645,90,633,31,650,32,676,21,616,95,666,56,710,71,766,43,673},new int[]{-309,839,-195,818,-100,123,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-14,604,-148,146,-150,147,-149,151,-15,153,-53,605,-103,494,-237,820,-136,821,-298,822,-229,823,-107,824,-106,825,-31,826,-284,827,-152,828,-109,829,-230,830,-4,831});
|
||||
states[839] = new State(-865);
|
||||
states[839] = new State(-864);
|
||||
states[840] = new State(-391);
|
||||
states[841] = new State(-392);
|
||||
states[842] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,5,638},new int[]{-81,843,-91,127,-90,132,-89,287,-93,295,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-105,637});
|
||||
|
|
@ -1045,16 +1045,16 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
states[883] = new State(new int[]{9,910,52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,5,638},new int[]{-81,382,-91,884,-130,914,-90,132,-89,287,-93,295,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-105,637});
|
||||
states[884] = new State(new int[]{93,885,13,128,9,-573});
|
||||
states[885] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249},new int[]{-73,886,-91,909,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595});
|
||||
states[886] = new State(new int[]{93,907,5,398,10,-869,9,-869},new int[]{-304,887});
|
||||
states[887] = new State(new int[]{10,390,9,-857},new int[]{-310,888});
|
||||
states[886] = new State(new int[]{93,907,5,398,10,-868,9,-868},new int[]{-304,887});
|
||||
states[887] = new State(new int[]{10,390,9,-856},new int[]{-310,888});
|
||||
states[888] = new State(new int[]{9,889});
|
||||
states[889] = new State(new int[]{5,894,7,-662,131,-662,129,-662,111,-662,110,-662,124,-662,125,-662,126,-662,127,-662,123,-662,109,-662,108,-662,121,-662,122,-662,119,-662,113,-662,118,-662,116,-662,114,-662,117,-662,115,-662,130,-662,15,-662,13,-662,85,-662,10,-662,91,-662,94,-662,29,-662,97,-662,28,-662,93,-662,12,-662,9,-662,92,-662,80,-662,79,-662,2,-662,78,-662,77,-662,76,-662,75,-662,112,-662,120,-871},new int[]{-314,890,-305,891});
|
||||
states[890] = new State(-855);
|
||||
states[889] = new State(new int[]{5,894,7,-662,131,-662,129,-662,111,-662,110,-662,124,-662,125,-662,126,-662,127,-662,123,-662,109,-662,108,-662,121,-662,122,-662,119,-662,113,-662,118,-662,116,-662,114,-662,117,-662,115,-662,130,-662,15,-662,13,-662,85,-662,10,-662,91,-662,94,-662,29,-662,97,-662,28,-662,93,-662,12,-662,9,-662,92,-662,80,-662,79,-662,2,-662,78,-662,77,-662,76,-662,75,-662,112,-662,120,-870},new int[]{-314,890,-305,891});
|
||||
states[890] = new State(-854);
|
||||
states[891] = new State(new int[]{120,892});
|
||||
states[892] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,84,116,36,598,50,645,90,633,31,650,32,676,21,616,95,666,56,710,71,766},new int[]{-308,893,-91,592,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-237,596,-136,597,-298,703,-229,704,-107,705,-106,706,-31,707,-284,708,-152,709,-109,765});
|
||||
states[893] = new State(-859);
|
||||
states[893] = new State(-858);
|
||||
states[894] = new State(new int[]{136,403,79,25,80,26,74,28,72,29,147,154,149,155,148,156,109,331,108,332,137,149,139,150,138,152,8,898,135,437,20,442,44,450,45,512,30,516,70,520,61,523},new int[]{-259,895,-255,896,-85,175,-94,264,-95,265,-164,897,-130,196,-134,24,-135,27,-15,428,-183,429,-148,432,-150,147,-149,151,-238,903,-231,904,-263,905,-264,440,-260,441,-253,448,-27,449,-246,511,-113,515,-114,519,-283,906});
|
||||
states[895] = new State(-872);
|
||||
states[895] = new State(-871);
|
||||
states[896] = new State(-466);
|
||||
states[897] = new State(new int[]{7,163,116,168,8,-241,111,-241,110,-241,124,-241,125,-241,126,-241,127,-241,123,-241,6,-241,109,-241,108,-241,121,-241,122,-241,120,-241},new int[]{-281,583});
|
||||
states[898] = new State(new int[]{136,403,79,25,80,26,74,28,72,29,147,154,149,155,148,156,109,331,108,332,137,149,139,150,138,152,8,433,135,437,20,442,44,450,45,512,30,516,70,520,61,523,40,528,33,543},new int[]{-74,899,-72,281,-258,284,-255,401,-85,175,-94,264,-95,265,-164,266,-130,196,-134,24,-135,27,-15,428,-183,429,-148,432,-150,147,-149,151,-238,435,-231,436,-263,439,-264,440,-260,441,-253,448,-27,449,-246,511,-113,515,-114,519,-209,525,-207,526,-206,527,-283,547});
|
||||
|
|
@ -1069,31 +1069,31 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
states[907] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249},new int[]{-91,908,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595});
|
||||
states[908] = new State(new int[]{13,128,93,-112,5,-112,10,-112,9,-112});
|
||||
states[909] = new State(new int[]{13,128,93,-111,5,-111,10,-111,9,-111});
|
||||
states[910] = new State(new int[]{5,894,120,-871},new int[]{-305,911});
|
||||
states[910] = new State(new int[]{5,894,120,-870},new int[]{-305,911});
|
||||
states[911] = new State(new int[]{120,912});
|
||||
states[912] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,84,116,36,598,50,645,90,633,31,650,32,676,21,616,95,666,56,710,71,766},new int[]{-308,913,-91,592,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-237,596,-136,597,-298,703,-229,704,-107,705,-106,706,-31,707,-284,708,-152,709,-109,765});
|
||||
states[913] = new State(-851);
|
||||
states[913] = new State(-850);
|
||||
states[914] = new State(new int[]{5,915,10,927,11,-686,16,-686,8,-686,7,-686,135,-686,4,-686,14,-686,131,-686,129,-686,111,-686,110,-686,124,-686,125,-686,126,-686,127,-686,123,-686,109,-686,108,-686,121,-686,122,-686,119,-686,113,-686,118,-686,116,-686,114,-686,117,-686,115,-686,130,-686,15,-686,93,-686,13,-686,9,-686,112,-686});
|
||||
states[915] = new State(new int[]{136,403,79,25,80,26,74,28,72,29,147,154,149,155,148,156,109,331,108,332,137,149,139,150,138,152,8,433,135,437,20,442,44,450,45,512,30,516,70,520,61,523,40,528,33,543},new int[]{-257,916,-258,400,-255,401,-85,175,-94,264,-95,265,-164,266,-130,196,-134,24,-135,27,-15,428,-183,429,-148,432,-150,147,-149,151,-238,435,-231,436,-263,439,-264,440,-260,441,-253,448,-27,449,-246,511,-113,515,-114,519,-209,525,-207,526,-206,527,-283,547});
|
||||
states[916] = new State(new int[]{9,917,10,921});
|
||||
states[917] = new State(new int[]{5,894,120,-871},new int[]{-305,918});
|
||||
states[917] = new State(new int[]{5,894,120,-870},new int[]{-305,918});
|
||||
states[918] = new State(new int[]{120,919});
|
||||
states[919] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,84,116,36,598,50,645,90,633,31,650,32,676,21,616,95,666,56,710,71,766},new int[]{-308,920,-91,592,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-237,596,-136,597,-298,703,-229,704,-107,705,-106,706,-31,707,-284,708,-152,709,-109,765});
|
||||
states[920] = new State(-852);
|
||||
states[920] = new State(-851);
|
||||
states[921] = new State(new int[]{136,23,79,25,80,26,74,28,72,29},new int[]{-306,922,-307,814,-141,394,-130,693,-134,24,-135,27});
|
||||
states[922] = new State(new int[]{9,923,10,392});
|
||||
states[923] = new State(new int[]{5,894,120,-871},new int[]{-305,924});
|
||||
states[923] = new State(new int[]{5,894,120,-870},new int[]{-305,924});
|
||||
states[924] = new State(new int[]{120,925});
|
||||
states[925] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,84,116,36,598,50,645,90,633,31,650,32,676,21,616,95,666,56,710,71,766},new int[]{-308,926,-91,592,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-237,596,-136,597,-298,703,-229,704,-107,705,-106,706,-31,707,-284,708,-152,709,-109,765});
|
||||
states[926] = new State(-854);
|
||||
states[926] = new State(-853);
|
||||
states[927] = new State(new int[]{136,23,79,25,80,26,74,28,72,29},new int[]{-306,928,-307,814,-141,394,-130,693,-134,24,-135,27});
|
||||
states[928] = new State(new int[]{9,929,10,392});
|
||||
states[929] = new State(new int[]{5,894,120,-871},new int[]{-305,930});
|
||||
states[929] = new State(new int[]{5,894,120,-870},new int[]{-305,930});
|
||||
states[930] = new State(new int[]{120,931});
|
||||
states[931] = new State(new int[]{52,142,137,149,139,150,138,152,147,154,149,155,148,156,59,158,11,318,128,327,109,331,108,332,134,341,136,23,79,25,80,26,74,28,72,226,41,349,38,379,8,381,17,244,18,249,84,116,36,598,50,645,90,633,31,650,32,676,21,616,95,666,56,710,71,766},new int[]{-308,932,-91,592,-90,132,-89,287,-93,593,-76,305,-88,317,-14,143,-148,146,-150,147,-149,151,-15,153,-52,157,-183,329,-100,333,-115,334,-99,342,-130,347,-134,24,-135,27,-175,348,-239,486,-277,487,-53,488,-103,494,-157,495,-251,496,-77,497,-247,500,-249,501,-250,594,-223,595,-237,596,-136,597,-298,703,-229,704,-107,705,-106,706,-31,707,-284,708,-152,709,-109,765});
|
||||
states[932] = new State(-853);
|
||||
states[932] = new State(-852);
|
||||
states[933] = new State(-572);
|
||||
states[934] = new State(-856);
|
||||
states[934] = new State(-855);
|
||||
states[935] = new State(-533);
|
||||
states[936] = new State(-546);
|
||||
states[937] = new State(-547);
|
||||
|
|
@ -2448,85 +2448,84 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
rules[815] = new Rule(-275, new int[]{58});
|
||||
rules[816] = new Rule(-275, new int[]{71});
|
||||
rules[817] = new Rule(-275, new int[]{34});
|
||||
rules[818] = new Rule(-275, new int[]{24});
|
||||
rules[819] = new Rule(-275, new int[]{35});
|
||||
rules[820] = new Rule(-276, new int[]{41});
|
||||
rules[821] = new Rule(-276, new int[]{85});
|
||||
rules[822] = new Rule(-184, new int[]{108});
|
||||
rules[823] = new Rule(-184, new int[]{109});
|
||||
rules[824] = new Rule(-184, new int[]{110});
|
||||
rules[825] = new Rule(-184, new int[]{111});
|
||||
rules[826] = new Rule(-184, new int[]{113});
|
||||
rules[827] = new Rule(-184, new int[]{114});
|
||||
rules[828] = new Rule(-184, new int[]{115});
|
||||
rules[829] = new Rule(-184, new int[]{116});
|
||||
rules[830] = new Rule(-184, new int[]{117});
|
||||
rules[831] = new Rule(-184, new int[]{118});
|
||||
rules[832] = new Rule(-184, new int[]{121});
|
||||
rules[833] = new Rule(-184, new int[]{122});
|
||||
rules[834] = new Rule(-184, new int[]{123});
|
||||
rules[835] = new Rule(-184, new int[]{124});
|
||||
rules[836] = new Rule(-184, new int[]{125});
|
||||
rules[837] = new Rule(-184, new int[]{126});
|
||||
rules[838] = new Rule(-184, new int[]{127});
|
||||
rules[839] = new Rule(-184, new int[]{128});
|
||||
rules[840] = new Rule(-184, new int[]{130});
|
||||
rules[841] = new Rule(-184, new int[]{132});
|
||||
rules[842] = new Rule(-184, new int[]{133});
|
||||
rules[843] = new Rule(-184, new int[]{-178});
|
||||
rules[844] = new Rule(-184, new int[]{112});
|
||||
rules[845] = new Rule(-178, new int[]{103});
|
||||
rules[846] = new Rule(-178, new int[]{104});
|
||||
rules[847] = new Rule(-178, new int[]{105});
|
||||
rules[848] = new Rule(-178, new int[]{106});
|
||||
rules[849] = new Rule(-178, new int[]{107});
|
||||
rules[850] = new Rule(-302, new int[]{-130,120,-308});
|
||||
rules[851] = new Rule(-302, new int[]{8,9,-305,120,-308});
|
||||
rules[852] = new Rule(-302, new int[]{8,-130,5,-257,9,-305,120,-308});
|
||||
rules[853] = new Rule(-302, new int[]{8,-130,10,-306,9,-305,120,-308});
|
||||
rules[854] = new Rule(-302, new int[]{8,-130,5,-257,10,-306,9,-305,120,-308});
|
||||
rules[855] = new Rule(-302, new int[]{8,-91,93,-73,-304,-310,9,-314});
|
||||
rules[856] = new Rule(-302, new int[]{-303});
|
||||
rules[857] = new Rule(-310, new int[]{});
|
||||
rules[858] = new Rule(-310, new int[]{10,-306});
|
||||
rules[859] = new Rule(-314, new int[]{-305,120,-308});
|
||||
rules[860] = new Rule(-303, new int[]{33,-304,120,-308});
|
||||
rules[861] = new Rule(-303, new int[]{33,8,9,-304,120,-308});
|
||||
rules[862] = new Rule(-303, new int[]{33,8,-306,9,-304,120,-308});
|
||||
rules[863] = new Rule(-303, new int[]{40,120,-309});
|
||||
rules[864] = new Rule(-303, new int[]{40,8,9,120,-309});
|
||||
rules[865] = new Rule(-303, new int[]{40,8,-306,9,120,-309});
|
||||
rules[866] = new Rule(-306, new int[]{-307});
|
||||
rules[867] = new Rule(-306, new int[]{-306,10,-307});
|
||||
rules[868] = new Rule(-307, new int[]{-141,-304});
|
||||
rules[869] = new Rule(-304, new int[]{});
|
||||
rules[870] = new Rule(-304, new int[]{5,-257});
|
||||
rules[871] = new Rule(-305, new int[]{});
|
||||
rules[872] = new Rule(-305, new int[]{5,-259});
|
||||
rules[873] = new Rule(-308, new int[]{-91});
|
||||
rules[874] = new Rule(-308, new int[]{-237});
|
||||
rules[875] = new Rule(-308, new int[]{-136});
|
||||
rules[876] = new Rule(-308, new int[]{-298});
|
||||
rules[877] = new Rule(-308, new int[]{-229});
|
||||
rules[878] = new Rule(-308, new int[]{-107});
|
||||
rules[879] = new Rule(-308, new int[]{-106});
|
||||
rules[880] = new Rule(-308, new int[]{-31});
|
||||
rules[881] = new Rule(-308, new int[]{-284});
|
||||
rules[882] = new Rule(-308, new int[]{-152});
|
||||
rules[883] = new Rule(-308, new int[]{-109});
|
||||
rules[884] = new Rule(-309, new int[]{-195});
|
||||
rules[885] = new Rule(-309, new int[]{-237});
|
||||
rules[886] = new Rule(-309, new int[]{-136});
|
||||
rules[887] = new Rule(-309, new int[]{-298});
|
||||
rules[888] = new Rule(-309, new int[]{-229});
|
||||
rules[889] = new Rule(-309, new int[]{-107});
|
||||
rules[890] = new Rule(-309, new int[]{-106});
|
||||
rules[891] = new Rule(-309, new int[]{-31});
|
||||
rules[892] = new Rule(-309, new int[]{-284});
|
||||
rules[893] = new Rule(-309, new int[]{-152});
|
||||
rules[894] = new Rule(-309, new int[]{-109});
|
||||
rules[895] = new Rule(-309, new int[]{-230});
|
||||
rules[896] = new Rule(-309, new int[]{-4});
|
||||
rules[818] = new Rule(-275, new int[]{35});
|
||||
rules[819] = new Rule(-276, new int[]{41});
|
||||
rules[820] = new Rule(-276, new int[]{85});
|
||||
rules[821] = new Rule(-184, new int[]{108});
|
||||
rules[822] = new Rule(-184, new int[]{109});
|
||||
rules[823] = new Rule(-184, new int[]{110});
|
||||
rules[824] = new Rule(-184, new int[]{111});
|
||||
rules[825] = new Rule(-184, new int[]{113});
|
||||
rules[826] = new Rule(-184, new int[]{114});
|
||||
rules[827] = new Rule(-184, new int[]{115});
|
||||
rules[828] = new Rule(-184, new int[]{116});
|
||||
rules[829] = new Rule(-184, new int[]{117});
|
||||
rules[830] = new Rule(-184, new int[]{118});
|
||||
rules[831] = new Rule(-184, new int[]{121});
|
||||
rules[832] = new Rule(-184, new int[]{122});
|
||||
rules[833] = new Rule(-184, new int[]{123});
|
||||
rules[834] = new Rule(-184, new int[]{124});
|
||||
rules[835] = new Rule(-184, new int[]{125});
|
||||
rules[836] = new Rule(-184, new int[]{126});
|
||||
rules[837] = new Rule(-184, new int[]{127});
|
||||
rules[838] = new Rule(-184, new int[]{128});
|
||||
rules[839] = new Rule(-184, new int[]{130});
|
||||
rules[840] = new Rule(-184, new int[]{132});
|
||||
rules[841] = new Rule(-184, new int[]{133});
|
||||
rules[842] = new Rule(-184, new int[]{-178});
|
||||
rules[843] = new Rule(-184, new int[]{112});
|
||||
rules[844] = new Rule(-178, new int[]{103});
|
||||
rules[845] = new Rule(-178, new int[]{104});
|
||||
rules[846] = new Rule(-178, new int[]{105});
|
||||
rules[847] = new Rule(-178, new int[]{106});
|
||||
rules[848] = new Rule(-178, new int[]{107});
|
||||
rules[849] = new Rule(-302, new int[]{-130,120,-308});
|
||||
rules[850] = new Rule(-302, new int[]{8,9,-305,120,-308});
|
||||
rules[851] = new Rule(-302, new int[]{8,-130,5,-257,9,-305,120,-308});
|
||||
rules[852] = new Rule(-302, new int[]{8,-130,10,-306,9,-305,120,-308});
|
||||
rules[853] = new Rule(-302, new int[]{8,-130,5,-257,10,-306,9,-305,120,-308});
|
||||
rules[854] = new Rule(-302, new int[]{8,-91,93,-73,-304,-310,9,-314});
|
||||
rules[855] = new Rule(-302, new int[]{-303});
|
||||
rules[856] = new Rule(-310, new int[]{});
|
||||
rules[857] = new Rule(-310, new int[]{10,-306});
|
||||
rules[858] = new Rule(-314, new int[]{-305,120,-308});
|
||||
rules[859] = new Rule(-303, new int[]{33,-304,120,-308});
|
||||
rules[860] = new Rule(-303, new int[]{33,8,9,-304,120,-308});
|
||||
rules[861] = new Rule(-303, new int[]{33,8,-306,9,-304,120,-308});
|
||||
rules[862] = new Rule(-303, new int[]{40,120,-309});
|
||||
rules[863] = new Rule(-303, new int[]{40,8,9,120,-309});
|
||||
rules[864] = new Rule(-303, new int[]{40,8,-306,9,120,-309});
|
||||
rules[865] = new Rule(-306, new int[]{-307});
|
||||
rules[866] = new Rule(-306, new int[]{-306,10,-307});
|
||||
rules[867] = new Rule(-307, new int[]{-141,-304});
|
||||
rules[868] = new Rule(-304, new int[]{});
|
||||
rules[869] = new Rule(-304, new int[]{5,-257});
|
||||
rules[870] = new Rule(-305, new int[]{});
|
||||
rules[871] = new Rule(-305, new int[]{5,-259});
|
||||
rules[872] = new Rule(-308, new int[]{-91});
|
||||
rules[873] = new Rule(-308, new int[]{-237});
|
||||
rules[874] = new Rule(-308, new int[]{-136});
|
||||
rules[875] = new Rule(-308, new int[]{-298});
|
||||
rules[876] = new Rule(-308, new int[]{-229});
|
||||
rules[877] = new Rule(-308, new int[]{-107});
|
||||
rules[878] = new Rule(-308, new int[]{-106});
|
||||
rules[879] = new Rule(-308, new int[]{-31});
|
||||
rules[880] = new Rule(-308, new int[]{-284});
|
||||
rules[881] = new Rule(-308, new int[]{-152});
|
||||
rules[882] = new Rule(-308, new int[]{-109});
|
||||
rules[883] = new Rule(-309, new int[]{-195});
|
||||
rules[884] = new Rule(-309, new int[]{-237});
|
||||
rules[885] = new Rule(-309, new int[]{-136});
|
||||
rules[886] = new Rule(-309, new int[]{-298});
|
||||
rules[887] = new Rule(-309, new int[]{-229});
|
||||
rules[888] = new Rule(-309, new int[]{-107});
|
||||
rules[889] = new Rule(-309, new int[]{-106});
|
||||
rules[890] = new Rule(-309, new int[]{-31});
|
||||
rules[891] = new Rule(-309, new int[]{-284});
|
||||
rules[892] = new Rule(-309, new int[]{-152});
|
||||
rules[893] = new Rule(-309, new int[]{-109});
|
||||
rules[894] = new Rule(-309, new int[]{-230});
|
||||
rules[895] = new Rule(-309, new int[]{-4});
|
||||
}
|
||||
|
||||
protected override void Initialize() {
|
||||
|
|
@ -6341,116 +6340,113 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
case 817: // keyword -> tkMatch
|
||||
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
|
||||
break;
|
||||
case 818: // keyword -> tkStatic
|
||||
case 818: // keyword -> tkWhen
|
||||
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
|
||||
break;
|
||||
case 819: // keyword -> tkWhen
|
||||
case 819: // reserved_keyword -> tkOperator
|
||||
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
|
||||
break;
|
||||
case 820: // reserved_keyword -> tkOperator
|
||||
case 820: // reserved_keyword -> tkEnd
|
||||
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
|
||||
break;
|
||||
case 821: // reserved_keyword -> tkEnd
|
||||
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
|
||||
break;
|
||||
case 822: // overload_operator -> tkMinus
|
||||
case 821: // overload_operator -> tkMinus
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 823: // overload_operator -> tkPlus
|
||||
case 822: // overload_operator -> tkPlus
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 824: // overload_operator -> tkSlash
|
||||
case 823: // overload_operator -> tkSlash
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 825: // overload_operator -> tkStar
|
||||
case 824: // overload_operator -> tkStar
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 826: // overload_operator -> tkEqual
|
||||
case 825: // overload_operator -> tkEqual
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 827: // overload_operator -> tkGreater
|
||||
case 826: // overload_operator -> tkGreater
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 828: // overload_operator -> tkGreaterEqual
|
||||
case 827: // overload_operator -> tkGreaterEqual
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 829: // overload_operator -> tkLower
|
||||
case 828: // overload_operator -> tkLower
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 830: // overload_operator -> tkLowerEqual
|
||||
case 829: // overload_operator -> tkLowerEqual
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 831: // overload_operator -> tkNotEqual
|
||||
case 830: // overload_operator -> tkNotEqual
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 832: // overload_operator -> tkOr
|
||||
case 831: // overload_operator -> tkOr
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 833: // overload_operator -> tkXor
|
||||
case 832: // overload_operator -> tkXor
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 834: // overload_operator -> tkAnd
|
||||
case 833: // overload_operator -> tkAnd
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 835: // overload_operator -> tkDiv
|
||||
case 834: // overload_operator -> tkDiv
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 836: // overload_operator -> tkMod
|
||||
case 835: // overload_operator -> tkMod
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 837: // overload_operator -> tkShl
|
||||
case 836: // overload_operator -> tkShl
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 838: // overload_operator -> tkShr
|
||||
case 837: // overload_operator -> tkShr
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 839: // overload_operator -> tkNot
|
||||
case 838: // overload_operator -> tkNot
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 840: // overload_operator -> tkIn
|
||||
case 839: // overload_operator -> tkIn
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 841: // overload_operator -> tkImplicit
|
||||
case 840: // overload_operator -> tkImplicit
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 842: // overload_operator -> tkExplicit
|
||||
case 841: // overload_operator -> tkExplicit
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 843: // overload_operator -> assign_operator
|
||||
case 842: // overload_operator -> assign_operator
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 844: // overload_operator -> tkStarStar
|
||||
case 843: // overload_operator -> tkStarStar
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 845: // assign_operator -> tkAssign
|
||||
case 844: // assign_operator -> tkAssign
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 846: // assign_operator -> tkPlusEqual
|
||||
case 845: // assign_operator -> tkPlusEqual
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 847: // assign_operator -> tkMinusEqual
|
||||
case 846: // assign_operator -> tkMinusEqual
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 848: // assign_operator -> tkMultEqual
|
||||
case 847: // assign_operator -> tkMultEqual
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 849: // assign_operator -> tkDivEqual
|
||||
case 848: // assign_operator -> tkDivEqual
|
||||
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
|
||||
break;
|
||||
case 850: // func_decl_lambda -> identifier, tkArrow, lambda_function_body
|
||||
case 849: // func_decl_lambda -> identifier, tkArrow, lambda_function_body
|
||||
{
|
||||
var idList = new ident_list(ValueStack[ValueStack.Depth-3].id, LocationStack[LocationStack.Depth-3]);
|
||||
var formalPars = new formal_parameters(new typed_parameters(idList, new lambda_inferred_type(new PascalABCCompiler.TreeRealization.lambda_any_type_node(), LocationStack[LocationStack.Depth-3]), parametr_kind.none, null, LocationStack[LocationStack.Depth-3]), LocationStack[LocationStack.Depth-3]);
|
||||
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), formalPars, new lambda_inferred_type(new PascalABCCompiler.TreeRealization.lambda_any_type_node(), LocationStack[LocationStack.Depth-3]), ValueStack[ValueStack.Depth-1].stn as statement_list, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 851: // func_decl_lambda -> tkRoundOpen, tkRoundClose, lambda_type_ref_noproctype,
|
||||
case 850: // func_decl_lambda -> tkRoundOpen, tkRoundClose, lambda_type_ref_noproctype,
|
||||
// tkArrow, lambda_function_body
|
||||
{
|
||||
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), null, ValueStack[ValueStack.Depth-3].td, ValueStack[ValueStack.Depth-1].stn as statement_list, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 852: // func_decl_lambda -> tkRoundOpen, identifier, tkColon, fptype, tkRoundClose,
|
||||
case 851: // func_decl_lambda -> tkRoundOpen, identifier, tkColon, fptype, tkRoundClose,
|
||||
// lambda_type_ref_noproctype, tkArrow, lambda_function_body
|
||||
{
|
||||
var idList = new ident_list(ValueStack[ValueStack.Depth-7].id, LocationStack[LocationStack.Depth-7]);
|
||||
|
|
@ -6459,7 +6455,7 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), formalPars, ValueStack[ValueStack.Depth-3].td, ValueStack[ValueStack.Depth-1].stn as statement_list, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 853: // func_decl_lambda -> tkRoundOpen, identifier, tkSemiColon, full_lambda_fp_list,
|
||||
case 852: // func_decl_lambda -> tkRoundOpen, identifier, tkSemiColon, full_lambda_fp_list,
|
||||
// tkRoundClose, lambda_type_ref_noproctype, tkArrow,
|
||||
// lambda_function_body
|
||||
{
|
||||
|
|
@ -6470,7 +6466,7 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), formalPars, ValueStack[ValueStack.Depth-3].td, ValueStack[ValueStack.Depth-1].stn as statement_list, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 854: // func_decl_lambda -> tkRoundOpen, identifier, tkColon, fptype, tkSemiColon,
|
||||
case 853: // func_decl_lambda -> tkRoundOpen, identifier, tkColon, fptype, tkSemiColon,
|
||||
// full_lambda_fp_list, tkRoundClose,
|
||||
// lambda_type_ref_noproctype, tkArrow, lambda_function_body
|
||||
{
|
||||
|
|
@ -6482,7 +6478,7 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), formalPars, ValueStack[ValueStack.Depth-3].td, ValueStack[ValueStack.Depth-1].stn as statement_list, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 855: // func_decl_lambda -> tkRoundOpen, expr_l1, tkComma, expr_l1_list,
|
||||
case 854: // func_decl_lambda -> tkRoundOpen, expr_l1, tkComma, expr_l1_list,
|
||||
// lambda_type_ref, optional_full_lambda_fp_list,
|
||||
// tkRoundClose, rem_lambda
|
||||
{
|
||||
|
|
@ -6544,61 +6540,61 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
}
|
||||
}
|
||||
break;
|
||||
case 856: // func_decl_lambda -> expl_func_decl_lambda
|
||||
case 855: // func_decl_lambda -> expl_func_decl_lambda
|
||||
{
|
||||
CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex;
|
||||
}
|
||||
break;
|
||||
case 857: // optional_full_lambda_fp_list -> /* empty */
|
||||
case 856: // optional_full_lambda_fp_list -> /* empty */
|
||||
{ CurrentSemanticValue.stn = null; }
|
||||
break;
|
||||
case 858: // optional_full_lambda_fp_list -> tkSemiColon, full_lambda_fp_list
|
||||
case 857: // optional_full_lambda_fp_list -> tkSemiColon, full_lambda_fp_list
|
||||
{
|
||||
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
|
||||
}
|
||||
break;
|
||||
case 859: // rem_lambda -> lambda_type_ref_noproctype, tkArrow, lambda_function_body
|
||||
case 858: // rem_lambda -> lambda_type_ref_noproctype, tkArrow, lambda_function_body
|
||||
{
|
||||
CurrentSemanticValue.ob = new pair_type_stlist(ValueStack[ValueStack.Depth-3].td,ValueStack[ValueStack.Depth-1].stn as statement_list);
|
||||
}
|
||||
break;
|
||||
case 860: // expl_func_decl_lambda -> tkFunction, lambda_type_ref, tkArrow,
|
||||
case 859: // expl_func_decl_lambda -> tkFunction, lambda_type_ref, tkArrow,
|
||||
// lambda_function_body
|
||||
{
|
||||
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), null, ValueStack[ValueStack.Depth-3].td, ValueStack[ValueStack.Depth-1].stn as statement_list, 1, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 861: // expl_func_decl_lambda -> tkFunction, tkRoundOpen, tkRoundClose, lambda_type_ref,
|
||||
case 860: // expl_func_decl_lambda -> tkFunction, tkRoundOpen, tkRoundClose, lambda_type_ref,
|
||||
// tkArrow, lambda_function_body
|
||||
{
|
||||
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), null, ValueStack[ValueStack.Depth-3].td, ValueStack[ValueStack.Depth-1].stn as statement_list, 1, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 862: // expl_func_decl_lambda -> tkFunction, tkRoundOpen, full_lambda_fp_list,
|
||||
case 861: // expl_func_decl_lambda -> tkFunction, tkRoundOpen, full_lambda_fp_list,
|
||||
// tkRoundClose, lambda_type_ref, tkArrow,
|
||||
// lambda_function_body
|
||||
{
|
||||
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), ValueStack[ValueStack.Depth-5].stn as formal_parameters, ValueStack[ValueStack.Depth-3].td, ValueStack[ValueStack.Depth-1].stn as statement_list, 1, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 863: // expl_func_decl_lambda -> tkProcedure, tkArrow, lambda_procedure_body
|
||||
case 862: // expl_func_decl_lambda -> tkProcedure, tkArrow, lambda_procedure_body
|
||||
{
|
||||
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), null, null, ValueStack[ValueStack.Depth-1].stn as statement_list, 2, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 864: // expl_func_decl_lambda -> tkProcedure, tkRoundOpen, tkRoundClose, tkArrow,
|
||||
case 863: // expl_func_decl_lambda -> tkProcedure, tkRoundOpen, tkRoundClose, tkArrow,
|
||||
// lambda_procedure_body
|
||||
{
|
||||
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), null, null, ValueStack[ValueStack.Depth-1].stn as statement_list, 2, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 865: // expl_func_decl_lambda -> tkProcedure, tkRoundOpen, full_lambda_fp_list,
|
||||
case 864: // expl_func_decl_lambda -> tkProcedure, tkRoundOpen, full_lambda_fp_list,
|
||||
// tkRoundClose, tkArrow, lambda_procedure_body
|
||||
{
|
||||
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), ValueStack[ValueStack.Depth-4].stn as formal_parameters, null, ValueStack[ValueStack.Depth-1].stn as statement_list, 2, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 866: // full_lambda_fp_list -> lambda_simple_fp_sect
|
||||
case 865: // full_lambda_fp_list -> lambda_simple_fp_sect
|
||||
{
|
||||
var typed_pars = ValueStack[ValueStack.Depth-1].stn as typed_parameters;
|
||||
if (typed_pars.vars_type is lambda_inferred_type)
|
||||
|
|
@ -6618,152 +6614,152 @@ public partial class GPPGParser: ShiftReduceParser<PascalABCSavParser.Union, Lex
|
|||
}
|
||||
}
|
||||
break;
|
||||
case 867: // full_lambda_fp_list -> full_lambda_fp_list, tkSemiColon, lambda_simple_fp_sect
|
||||
case 866: // full_lambda_fp_list -> full_lambda_fp_list, tkSemiColon, lambda_simple_fp_sect
|
||||
{
|
||||
CurrentSemanticValue.stn =(ValueStack[ValueStack.Depth-3].stn as formal_parameters).Add(ValueStack[ValueStack.Depth-1].stn as typed_parameters, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 868: // lambda_simple_fp_sect -> ident_list, lambda_type_ref
|
||||
case 867: // lambda_simple_fp_sect -> ident_list, lambda_type_ref
|
||||
{
|
||||
CurrentSemanticValue.stn = new typed_parameters(ValueStack[ValueStack.Depth-2].stn as ident_list, ValueStack[ValueStack.Depth-1].td, parametr_kind.none, null, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 869: // lambda_type_ref -> /* empty */
|
||||
case 868: // lambda_type_ref -> /* empty */
|
||||
{
|
||||
CurrentSemanticValue.td = new lambda_inferred_type(new PascalABCCompiler.TreeRealization.lambda_any_type_node(), null);
|
||||
}
|
||||
break;
|
||||
case 870: // lambda_type_ref -> tkColon, fptype
|
||||
case 869: // lambda_type_ref -> tkColon, fptype
|
||||
{
|
||||
CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td;
|
||||
}
|
||||
break;
|
||||
case 871: // lambda_type_ref_noproctype -> /* empty */
|
||||
case 870: // lambda_type_ref_noproctype -> /* empty */
|
||||
{
|
||||
CurrentSemanticValue.td = new lambda_inferred_type(new PascalABCCompiler.TreeRealization.lambda_any_type_node(), null);
|
||||
}
|
||||
break;
|
||||
case 872: // lambda_type_ref_noproctype -> tkColon, fptype_noproctype
|
||||
case 871: // lambda_type_ref_noproctype -> tkColon, fptype_noproctype
|
||||
{
|
||||
CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td;
|
||||
}
|
||||
break;
|
||||
case 873: // lambda_function_body -> expr_l1
|
||||
case 872: // lambda_function_body -> expr_l1
|
||||
{
|
||||
CurrentSemanticValue.stn = NewLambdaBody(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 874: // lambda_function_body -> compound_stmt
|
||||
case 873: // lambda_function_body -> compound_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
|
||||
}
|
||||
break;
|
||||
case 875: // lambda_function_body -> if_stmt
|
||||
case 874: // lambda_function_body -> if_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 876: // lambda_function_body -> while_stmt
|
||||
case 875: // lambda_function_body -> while_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 877: // lambda_function_body -> repeat_stmt
|
||||
case 876: // lambda_function_body -> repeat_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 878: // lambda_function_body -> for_stmt
|
||||
case 877: // lambda_function_body -> for_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 879: // lambda_function_body -> foreach_stmt
|
||||
case 878: // lambda_function_body -> foreach_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 880: // lambda_function_body -> case_stmt
|
||||
case 879: // lambda_function_body -> case_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 881: // lambda_function_body -> try_stmt
|
||||
case 880: // lambda_function_body -> try_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 882: // lambda_function_body -> lock_stmt
|
||||
case 881: // lambda_function_body -> lock_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 883: // lambda_function_body -> yield_stmt
|
||||
case 882: // lambda_function_body -> yield_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 884: // lambda_procedure_body -> proc_call
|
||||
case 883: // lambda_procedure_body -> proc_call
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 885: // lambda_procedure_body -> compound_stmt
|
||||
case 884: // lambda_procedure_body -> compound_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
|
||||
}
|
||||
break;
|
||||
case 886: // lambda_procedure_body -> if_stmt
|
||||
case 885: // lambda_procedure_body -> if_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 887: // lambda_procedure_body -> while_stmt
|
||||
case 886: // lambda_procedure_body -> while_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 888: // lambda_procedure_body -> repeat_stmt
|
||||
case 887: // lambda_procedure_body -> repeat_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 889: // lambda_procedure_body -> for_stmt
|
||||
case 888: // lambda_procedure_body -> for_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 890: // lambda_procedure_body -> foreach_stmt
|
||||
case 889: // lambda_procedure_body -> foreach_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 891: // lambda_procedure_body -> case_stmt
|
||||
case 890: // lambda_procedure_body -> case_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 892: // lambda_procedure_body -> try_stmt
|
||||
case 891: // lambda_procedure_body -> try_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 893: // lambda_procedure_body -> lock_stmt
|
||||
case 892: // lambda_procedure_body -> lock_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 894: // lambda_procedure_body -> yield_stmt
|
||||
case 893: // lambda_procedure_body -> yield_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 895: // lambda_procedure_body -> raise_stmt
|
||||
case 894: // lambda_procedure_body -> raise_stmt
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
break;
|
||||
case 896: // lambda_procedure_body -> assignment
|
||||
case 895: // lambda_procedure_body -> assignment
|
||||
{
|
||||
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue