diff options
author | Tianqi Zhang <tianzh@microsoft.com> | 2021-07-03 06:03:43 +0300 |
---|---|---|
committer | Tianqi Zhang <tianzh@microsoft.com> | 2021-07-03 06:03:43 +0300 |
commit | d6971df2b54b3323d33862bf56fb6a87c63b5fef (patch) | |
tree | c97de412ea3beb4e57f335025f7f19c46d563faf | |
parent | 9163ef7e2d36fe8d07bbe7bbc6372181be75bf4d (diff) |
fix most errors in ReachabilityTest
-rw-r--r-- | monodoc/Monodoc.Ecma/EcmaUrlParser.jay | 2 | ||||
-rw-r--r-- | monodoc/Monodoc.Ecma/prebuilt/EcmaUrlParser.cs | 106 |
2 files changed, 54 insertions, 54 deletions
diff --git a/monodoc/Monodoc.Ecma/EcmaUrlParser.jay b/monodoc/Monodoc.Ecma/EcmaUrlParser.jay index 7b1689a6..4f15d708 100644 --- a/monodoc/Monodoc.Ecma/EcmaUrlParser.jay +++ b/monodoc/Monodoc.Ecma/EcmaUrlParser.jay @@ -201,7 +201,7 @@ reduced_member_expression } arg_type_expression - : type_expression opt_arg_type_suffix { var desc = (EcmaDesc)$1; desc.DescModifier = (EcmaDesc.Mod)$2; $$ = desc; } + : type_expression { var desc = (EcmaDesc)$1; $$ = desc; } opt_arg_type_suffix : /* empty */ { $$ = EcmaDesc.Mod.Normal; } diff --git a/monodoc/Monodoc.Ecma/prebuilt/EcmaUrlParser.cs b/monodoc/Monodoc.Ecma/prebuilt/EcmaUrlParser.cs index 9e2e3fa2..a7c6d344 100644 --- a/monodoc/Monodoc.Ecma/prebuilt/EcmaUrlParser.cs +++ b/monodoc/Monodoc.Ecma/prebuilt/EcmaUrlParser.cs @@ -129,7 +129,7 @@ namespace Monodoc.Ecma "method_expression : type_expression EXPLICIT_IMPL_SEP method_expression", "reduced_member_expression : IDENTIFIER opt_generic_type_suffix", "reduced_member_expression : IDENTIFIER opt_generic_type_suffix DOT reduced_member_expression", - "arg_type_expression : type_expression opt_arg_type_suffix", + "arg_type_expression : type_expression", "opt_arg_type_suffix :", "opt_arg_type_suffix : STAR", "opt_arg_type_suffix : REF_ARG", @@ -499,7 +499,7 @@ case 35: break; case 36: #line 204 "Monodoc.Ecma/EcmaUrlParser.jay" - { var desc = (EcmaDesc)yyVals[-1+yyTop]; desc.DescModifier = (EcmaDesc.Mod)yyVals[0+yyTop]; yyVal = desc; } + { var desc = (EcmaDesc)yyVals[0+yyTop]; yyVal = desc; } break; case 37: #line 207 "Monodoc.Ecma/EcmaUrlParser.jay" @@ -738,7 +738,7 @@ void case_50() 3, 3, 3, 3, 3, 3, 3, 3, 1, 3, 1, 2, 2, 6, 0, 2, 0, 2, 3, 1, 3, 0, 4, 0, 2, 0, 2, 4, 1, 1, - 5, 3, 3, 2, 4, 2, 0, 1, 1, 1, + 5, 3, 3, 2, 4, 1, 0, 1, 1, 1, 1, 0, 1, 3, 1, 3, 3, 1, 1, 2, 1, 0, 3, }; @@ -748,58 +748,58 @@ void case_50() 2, 11, 0, 3, 0, 0, 4, 0, 48, 5, 0, 6, 7, 49, 8, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 51, 50, 10, 20, - 0, 18, 0, 0, 0, 33, 32, 46, 47, 0, + 0, 18, 0, 0, 0, 33, 32, 46, 47, 36, 0, 0, 0, 19, 0, 16, 38, 39, 40, 41, - 0, 0, 36, 0, 53, 21, 13, 0, 0, 31, - 44, 0, 0, 0, 25, 0, 0, 14, 23, 30, - 29, 0, 0, 0, 28, 0, 0, 35, + 0, 0, 0, 53, 21, 13, 0, 0, 31, 44, + 0, 0, 0, 25, 0, 0, 14, 23, 30, 29, + 0, 0, 0, 28, 0, 0, 35, }; protected static readonly short [] yyDgoto = { 9, 23, 21, 24, 27, 30, 32, 35, 20, 39, 66, - 40, 54, 71, 79, 88, 51, 83, 92, 95, 47, + 40, 54, 71, 78, 87, 51, 82, 91, 94, 47, 61, 62, 48, }; - protected static readonly short [] yySindex = { -21, - -229, -226, -220, -217, -197, -192, -190, -189, 0, -230, - -230, -230, -230, -230, -230, -230, -230, -238, 0, -213, - 0, 0, -236, 0, -213, -234, 0, -213, 0, 0, - -193, 0, 0, 0, 0, -230, -230, -184, 0, -187, - -181, -230, -240, -180, -230, -230, 0, 0, 0, 0, - -194, 0, -179, -212, -213, 0, 0, 0, 0, -212, - -177, -188, -230, 0, -213, 0, 0, 0, 0, 0, - -183, -193, 0, -230, 0, 0, 0, -176, -212, 0, - 0, -176, -182, -178, 0, -183, -241, 0, 0, 0, - 0, -175, -171, -213, 0, -170, -171, 0, + protected static readonly short [] yySindex = { -6, + -247, -236, -228, -226, -220, -214, -208, -205, 0, -244, + -244, -244, -244, -244, -244, -244, -244, -202, 0, -259, + 0, 0, -248, 0, -259, -232, 0, -259, 0, 0, + -207, 0, 0, 0, 0, -244, -244, -200, 0, -201, + -193, -244, -230, -191, -244, -244, 0, 0, 0, 0, + -210, 0, -189, -227, -259, 0, 0, 0, 0, 0, + -186, -192, -244, 0, -259, 0, 0, 0, 0, 0, + -190, -207, -244, 0, 0, 0, -184, -227, 0, 0, + -184, -188, -187, 0, -190, -241, 0, 0, 0, 0, + -185, -178, -259, 0, -179, -178, 0, }; protected static readonly short [] yyRindex = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 68, 0, 0, 0, 0, 83, 0, 0, 100, 0, 0, - 81, 0, 0, 0, 0, 0, 0, 0, 0, 35, - 0, 0, 177, 0, 0, -186, 0, 0, 0, 0, - 0, 0, 0, 194, 4, 0, 0, 0, 0, -214, - -174, 0, 0, 0, 18, 0, 0, 0, 0, 0, - 117, 81, 0, -186, 0, 0, 0, -173, 194, 0, - 0, -173, 0, 134, 0, 117, 0, 0, 0, 0, - 0, 151, 0, 52, 0, 167, 0, 0, + 85, 0, 0, 0, 0, 0, 0, 0, 0, 35, + 0, 0, 177, 0, 0, -181, 0, 0, 0, 0, + 0, 0, 0, 194, 4, 0, 0, 0, 0, 0, + -180, 0, 0, 0, 18, 0, 0, 0, 0, 0, + 117, 85, -181, 0, 0, 0, -177, 194, 0, 0, + -177, 0, 134, 0, 117, 0, 0, 0, 0, 0, + 151, 0, 52, 0, 167, 0, 0, }; protected static readonly short [] yyGindex = { 0, - -8, 0, 2, 5, 0, 0, 0, -2, 24, 0, - -25, 0, -54, 6, 0, 0, 9, 0, 7, -40, - 0, 21, 0, + -7, 0, -1, -5, 0, 0, 0, 8, 24, 0, + -23, 0, 12, 6, 0, 0, 11, 0, -2, -43, + 0, 22, 0, }; - protected static readonly short [] yyTable = { 43, - 9, 19, 57, 17, 26, 73, 26, 26, 22, 25, - 28, 25, 28, 28, 25, 29, 90, 17, 34, 31, - 33, 36, 53, 41, 84, 44, 46, 18, 50, 72, - 91, 80, 10, 49, 15, 11, 26, 60, 42, 25, - 45, 12, 28, 56, 13, 5, 37, 7, 4, 59, - 37, 17, 38, 37, 76, 3, 2, 8, 6, 67, - 68, 69, 1, 70, 14, 60, 63, 17, 96, 15, - 64, 16, 17, 46, 52, 53, 55, 58, 65, 75, - 52, 42, 17, 74, 82, 78, 94, 86, 77, 97, - 85, 89, 87, 43, 81, 93, 24, 0, 0, 45, - 0, 0, 0, 98, 0, 0, 0, 0, 0, 0, + protected static readonly short [] yyTable = { 57, + 9, 43, 19, 17, 37, 26, 38, 26, 26, 31, + 33, 41, 29, 18, 10, 34, 89, 17, 22, 25, + 28, 25, 28, 28, 25, 11, 42, 44, 79, 50, + 90, 72, 53, 12, 15, 13, 46, 26, 60, 59, + 56, 14, 45, 49, 67, 68, 69, 15, 70, 25, + 63, 17, 28, 16, 64, 75, 17, 36, 52, 46, + 5, 53, 7, 4, 55, 60, 58, 17, 65, 95, + 3, 2, 8, 6, 73, 74, 81, 1, 77, 93, + 96, 85, 17, 86, 52, 92, 42, 43, 76, 83, + 88, 84, 24, 97, 80, 0, 0, 0, 0, 45, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 0, 0, 0, 0, 0, 0, @@ -837,18 +837,18 @@ void case_50() 15, 15, 15, 37, 37, 0, 0, 0, 37, 0, 0, 37, 37, 0, 37, 0, 0, 0, 37, }; - protected static readonly short [] yyCheck = { 25, - 0, 10, 43, 0, 13, 60, 15, 16, 11, 12, - 13, 14, 15, 16, 17, 14, 258, 0, 17, 15, - 16, 260, 263, 260, 79, 260, 267, 258, 37, 55, - 272, 72, 262, 36, 0, 262, 45, 46, 275, 42, - 275, 262, 45, 42, 262, 67, 261, 69, 70, 45, - 264, 0, 266, 268, 63, 77, 78, 79, 80, 272, - 273, 274, 84, 276, 262, 74, 261, 0, 94, 262, - 265, 262, 262, 267, 259, 263, 258, 258, 258, 268, - 0, 268, 0, 261, 261, 269, 258, 270, 65, 260, - 82, 86, 271, 268, 74, 271, 270, -1, -1, 0, - -1, -1, -1, 97, -1, -1, -1, -1, -1, -1, + protected static readonly short [] yyCheck = { 43, + 0, 25, 10, 0, 264, 13, 266, 15, 16, 15, + 16, 260, 14, 258, 262, 17, 258, 0, 11, 12, + 13, 14, 15, 16, 17, 262, 275, 260, 72, 37, + 272, 55, 263, 262, 0, 262, 267, 45, 46, 45, + 42, 262, 275, 36, 272, 273, 274, 262, 276, 42, + 261, 0, 45, 262, 265, 63, 262, 260, 259, 267, + 67, 263, 69, 70, 258, 73, 258, 0, 258, 93, + 77, 78, 79, 80, 261, 268, 261, 84, 269, 258, + 260, 270, 0, 271, 0, 271, 268, 268, 65, 78, + 85, 81, 270, 96, 73, -1, -1, -1, -1, 0, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, |