diff options
author | aycabta <aycabta@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-17 06:28:20 +0000 |
---|---|---|
committer | aycabta <aycabta@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-17 06:28:20 +0000 |
commit | 1b43644edc85a93bfc9228588c065c87f975cd93 (patch) | |
tree | ef3a60d0cbe73d15b39f6160853df9a23239a574 /lib/rdoc/rd/inline_parser.rb | |
parent | 2a59b579fed2fd49973ca73890f182299262909f (diff) | |
download | ruby-1b43644edc85a93bfc9228588c065c87f975cd93.tar.gz |
Merge rdoc-6.1.0.beta2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/rd/inline_parser.rb')
-rw-r--r-- | lib/rdoc/rd/inline_parser.rb | 268 |
1 files changed, 134 insertions, 134 deletions
diff --git a/lib/rdoc/rd/inline_parser.rb b/lib/rdoc/rd/inline_parser.rb index eec4ae5b01..85e4215964 100644 --- a/lib/rdoc/rd/inline_parser.rb +++ b/lib/rdoc/rd/inline_parser.rb @@ -244,23 +244,34 @@ end ##### State transition tables begin ### racc_action_table = [ - 104, 103, 102, 100, 101, 99, 115, 116, 117, 86, + 104, 103, 102, 100, 101, 99, 115, 116, 117, 29, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, - 164, 118, 119, 104, 103, 102, 100, 101, 99, 115, - 116, 117, 175, 105, 106, 107, 108, 109, 110, 111, - 112, 113, 114, 85, 118, 119, 63, 64, 65, 61, - 81, 62, 76, 78, 79, 84, 66, 67, 68, 69, - 70, 71, 72, 73, 74, 75, 77, 80, 149, 104, - 103, 102, 100, 101, 99, 115, 116, 117, 29, 105, - 106, 107, 108, 109, 110, 111, 112, 113, 114, 173, + 84, 118, 119, 63, 64, 65, 61, 81, 62, 76, + 78, 79, 85, 66, 67, 68, 69, 70, 71, 72, + 73, 74, 75, 77, 80, 149, 63, 64, 65, 153, + 81, 62, 76, 78, 79, 86, 66, 67, 68, 69, + 70, 71, 72, 73, 74, 75, 77, 80, 152, 104, + 103, 102, 100, 101, 99, 115, 116, 117, 87, 105, + 106, 107, 108, 109, 110, 111, 112, 113, 114, 88, 118, 119, 104, 103, 102, 100, 101, 99, 115, 116, - 117, 137, 105, 106, 107, 108, 109, 110, 111, 112, - 113, 114, 177, 118, 119, 63, 64, 65, 153, 81, - 62, 76, 78, 79, 148, 66, 67, 68, 69, 70, - 71, 72, 73, 74, 75, 77, 80, 152, 22, 23, - 24, 25, 26, 21, 18, 19, 176, 177, 13, 124, - 14, 96, 15, 89, 16, 154, 17, 88, 137, 20, - 22, 23, 24, 25, 26, 21, 18, 19, 87, 161, + 117, 89, 105, 106, 107, 108, 109, 110, 111, 112, + 113, 114, 96, 118, 119, 104, 103, 102, 100, 101, + 99, 115, 116, 117, 124, 105, 106, 107, 108, 109, + 110, 111, 112, 113, 114, 137, 118, 119, 22, 23, + 24, 25, 26, 21, 18, 19, 176, 177, 13, 148, + 14, 154, 15, 137, 16, 161, 17, 164, 173, 20, + 22, 23, 24, 25, 26, 21, 18, 19, 175, 177, + 13, nil, 14, nil, 15, nil, 16, nil, 17, nil, + nil, 20, 22, 23, 24, 25, 26, 21, 18, 19, + nil, nil, 13, nil, 14, nil, 15, nil, 16, nil, + 17, nil, nil, 20, 22, 23, 24, 25, 26, 21, + 18, 19, nil, nil, 13, nil, 14, nil, 15, nil, + 16, nil, 17, nil, nil, 20, 22, 23, 24, 25, + 26, 21, 18, 19, nil, nil, 13, nil, 14, nil, + 15, nil, 16, nil, 17, nil, nil, 20, 22, 23, + 24, 25, 26, 21, 18, 19, nil, nil, 13, nil, + 14, nil, 15, nil, 16, nil, 17, nil, nil, 20, + 22, 23, 24, 25, 26, 21, 18, 19, nil, nil, 13, nil, 14, nil, 15, nil, 16, nil, 17, 42, nil, 20, 54, 38, 53, 55, 56, 57, nil, 13, nil, 14, nil, 15, nil, 16, nil, 17, nil, nil, @@ -268,63 +279,63 @@ racc_action_table = [ nil, 13, nil, 14, nil, 15, nil, 16, nil, 17, nil, nil, 20, 63, 64, 65, 61, 81, 62, 76, 78, 79, nil, 66, 67, 68, 69, 70, 71, 72, - 73, 74, 75, 77, 80, 145, nil, nil, 54, 133, - 53, 55, 56, 57, nil, 13, nil, 14, nil, 15, - nil, 16, nil, 17, 145, nil, 20, 54, 133, 53, - 55, 56, 57, nil, 13, nil, 14, nil, 15, nil, - 16, nil, 17, nil, nil, 20, 22, 23, 24, 25, - 26, 21, 18, 19, nil, nil, 13, nil, 14, nil, - 15, nil, 16, nil, 17, 145, nil, 20, 54, 133, + 73, 74, 75, 77, 80, 122, nil, nil, 54, nil, 53, 55, 56, 57, nil, 13, nil, 14, nil, 15, nil, 16, nil, 17, 145, nil, 20, 54, 133, 53, 55, 56, 57, nil, 13, nil, 14, nil, 15, nil, - 16, nil, 17, nil, nil, 20, 22, 23, 24, 25, - 26, 21, 18, 19, nil, nil, 13, nil, 14, nil, - 15, nil, 16, nil, 17, nil, nil, 20, 22, 23, - 24, 25, 26, 21, 18, 19, nil, nil, 13, nil, - 14, nil, 15, nil, 16, nil, 17, nil, nil, 20, - 22, 23, 24, 25, 26, 21, 18, 19, nil, nil, - 13, nil, 14, nil, 15, nil, 16, nil, 17, nil, - nil, 20, 22, 23, 24, 25, 26, 21, 18, 19, - nil, nil, 13, nil, 14, nil, 15, nil, 16, 122, - 17, nil, 54, 20, 53, 55, 56, 57, nil, 13, - nil, 14, nil, 15, nil, 16, nil, 17, nil, nil, - 20, 135, 136, 54, 133, 53, 55, 56, 57, nil, - 13, nil, 14, nil, 15, nil, 16, nil, 17, nil, - nil, 20, 135, 136, 54, 133, 53, 55, 56, 57, + 16, nil, 17, 145, nil, 20, 54, 133, 53, 55, + 56, 57, nil, 13, nil, 14, nil, 15, nil, 16, + nil, 17, 145, nil, 20, 54, 133, 53, 55, 56, + 57, nil, 13, nil, 14, nil, 15, nil, 16, nil, + 17, 145, nil, 20, 54, 133, 53, 55, 56, 57, nil, 13, nil, 14, nil, 15, nil, 16, nil, 17, nil, nil, 20, 135, 136, 54, 133, 53, 55, 56, - 57, nil, 13, nil, 14, nil, 15, nil, 16, 158, - 17, nil, 54, 20, 53, 55, 56, 57, 95, nil, - nil, 54, 91, 53, 55, 56, 57, 145, nil, nil, - 54, 133, 53, 55, 56, 57, 165, 135, 136, 54, - 133, 53, 55, 56, 57, 145, nil, nil, 54, 133, - 53, 55, 56, 57, 172, 135, 136, 54, 133, 53, - 55, 56, 57, 174, 135, 136, 54, 133, 53, 55, - 56, 57, 178, 135, 136, 54, 133, 53, 55, 56, - 57, 135, 136, 54, 133, 53, 55, 56, 57, 135, - 136, 54, 133, 53, 55, 56, 57, 135, 136, 54, - 133, 53, 55, 56, 57, 22, 23, 24, 25, 26, - 21 ] + 57, nil, 13, nil, 14, nil, 15, nil, 16, nil, + 17, nil, nil, 20, 135, 136, 54, 133, 53, 55, + 56, 57, nil, 13, nil, 14, nil, 15, nil, 16, + nil, 17, nil, nil, 20, 135, 136, 54, 133, 53, + 55, 56, 57, nil, 13, nil, 14, nil, 15, nil, + 16, nil, 17, 95, nil, 20, 54, 91, 53, 55, + 56, 57, 145, nil, nil, 54, 133, 53, 55, 56, + 57, 158, nil, nil, 54, nil, 53, 55, 56, 57, + 165, 135, 136, 54, 133, 53, 55, 56, 57, 145, + nil, nil, 54, 133, 53, 55, 56, 57, 172, 135, + 136, 54, 133, 53, 55, 56, 57, 174, 135, 136, + 54, 133, 53, 55, 56, 57, 178, 135, 136, 54, + 133, 53, 55, 56, 57, 135, 136, 54, 133, 53, + 55, 56, 57, 135, 136, 54, 133, 53, 55, 56, + 57, 135, 136, 54, 133, 53, 55, 56, 57, 22, + 23, 24, 25, 26, 21 ] racc_action_check = [ - 38, 38, 38, 38, 38, 38, 38, 38, 38, 32, + 38, 38, 38, 38, 38, 38, 38, 38, 38, 1, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, - 125, 38, 38, 97, 97, 97, 97, 97, 97, 97, - 97, 97, 164, 97, 97, 97, 97, 97, 97, 97, - 97, 97, 97, 31, 97, 97, 59, 59, 59, 59, - 59, 59, 59, 59, 59, 29, 59, 59, 59, 59, - 59, 59, 59, 59, 59, 59, 59, 59, 59, 91, - 91, 91, 91, 91, 91, 91, 91, 91, 1, 91, - 91, 91, 91, 91, 91, 91, 91, 91, 91, 162, - 91, 91, 155, 155, 155, 155, 155, 155, 155, 155, - 155, 43, 155, 155, 155, 155, 155, 155, 155, 155, - 155, 155, 172, 155, 155, 61, 61, 61, 61, 61, - 61, 61, 61, 61, 58, 61, 61, 61, 61, 61, - 61, 61, 61, 61, 61, 61, 61, 61, 16, 16, - 16, 16, 16, 16, 16, 16, 165, 165, 16, 41, - 16, 37, 16, 35, 16, 90, 16, 34, 94, 16, - 17, 17, 17, 17, 17, 17, 17, 17, 33, 100, + 29, 38, 38, 59, 59, 59, 59, 59, 59, 59, + 59, 59, 31, 59, 59, 59, 59, 59, 59, 59, + 59, 59, 59, 59, 59, 59, 61, 61, 61, 61, + 61, 61, 61, 61, 61, 32, 61, 61, 61, 61, + 61, 61, 61, 61, 61, 61, 61, 61, 61, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 33, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 91, 34, + 91, 91, 97, 97, 97, 97, 97, 97, 97, 97, + 97, 35, 97, 97, 97, 97, 97, 97, 97, 97, + 97, 97, 37, 97, 97, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 41, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 43, 155, 155, 0, 0, + 0, 0, 0, 0, 0, 0, 165, 165, 0, 58, + 0, 90, 0, 94, 0, 100, 0, 125, 162, 0, + 2, 2, 2, 2, 2, 2, 2, 2, 164, 172, + 2, nil, 2, nil, 2, nil, 2, nil, 2, nil, + nil, 2, 13, 13, 13, 13, 13, 13, 13, 13, + nil, nil, 13, nil, 13, nil, 13, nil, 13, nil, + 13, nil, nil, 13, 14, 14, 14, 14, 14, 14, + 14, 14, nil, nil, 14, nil, 14, nil, 14, nil, + 14, nil, 14, nil, nil, 14, 15, 15, 15, 15, + 15, 15, 15, 15, nil, nil, 15, nil, 15, nil, + 15, nil, 15, nil, 15, nil, nil, 15, 16, 16, + 16, 16, 16, 16, 16, 16, nil, nil, 16, nil, + 16, nil, 16, nil, 16, nil, 16, nil, nil, 16, + 17, 17, 17, 17, 17, 17, 17, 17, nil, nil, 17, nil, 17, nil, 17, nil, 17, nil, 17, 18, nil, 17, 18, 18, 18, 18, 18, 18, nil, 18, nil, 18, nil, 18, nil, 18, nil, 18, nil, nil, @@ -332,64 +343,53 @@ racc_action_check = [ nil, 19, nil, 19, nil, 19, nil, 19, nil, 19, nil, nil, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, nil, 20, 20, 20, 20, 20, 20, 20, - 20, 20, 20, 20, 20, 146, nil, nil, 146, 146, - 146, 146, 146, 146, nil, 146, nil, 146, nil, 146, - nil, 146, nil, 146, 138, nil, 146, 138, 138, 138, - 138, 138, 138, nil, 138, nil, 138, nil, 138, nil, - 138, nil, 138, nil, nil, 138, 0, 0, 0, 0, - 0, 0, 0, 0, nil, nil, 0, nil, 0, nil, - 0, nil, 0, nil, 0, 45, nil, 0, 45, 45, - 45, 45, 45, 45, nil, 45, nil, 45, nil, 45, - nil, 45, nil, 45, 44, nil, 45, 44, 44, 44, + 20, 20, 20, 20, 20, 39, nil, nil, 39, nil, + 39, 39, 39, 39, nil, 39, nil, 39, nil, 39, + nil, 39, nil, 39, 44, nil, 39, 44, 44, 44, 44, 44, 44, nil, 44, nil, 44, nil, 44, nil, - 44, nil, 44, nil, nil, 44, 2, 2, 2, 2, - 2, 2, 2, 2, nil, nil, 2, nil, 2, nil, - 2, nil, 2, nil, 2, nil, nil, 2, 13, 13, - 13, 13, 13, 13, 13, 13, nil, nil, 13, nil, - 13, nil, 13, nil, 13, nil, 13, nil, nil, 13, - 14, 14, 14, 14, 14, 14, 14, 14, nil, nil, - 14, nil, 14, nil, 14, nil, 14, nil, 14, nil, - nil, 14, 15, 15, 15, 15, 15, 15, 15, 15, - nil, nil, 15, nil, 15, nil, 15, nil, 15, 39, - 15, nil, 39, 15, 39, 39, 39, 39, nil, 39, - nil, 39, nil, 39, nil, 39, nil, 39, nil, nil, - 39, 42, 42, 42, 42, 42, 42, 42, 42, nil, + 44, nil, 44, 45, nil, 44, 45, 45, 45, 45, + 45, 45, nil, 45, nil, 45, nil, 45, nil, 45, + nil, 45, 138, nil, 45, 138, 138, 138, 138, 138, + 138, nil, 138, nil, 138, nil, 138, nil, 138, nil, + 138, 146, nil, 138, 146, 146, 146, 146, 146, 146, + nil, 146, nil, 146, nil, 146, nil, 146, nil, 146, + nil, nil, 146, 42, 42, 42, 42, 42, 42, 42, 42, nil, 42, nil, 42, nil, 42, nil, 42, nil, - nil, 42, 127, 127, 127, 127, 127, 127, 127, 127, - nil, 127, nil, 127, nil, 127, nil, 127, nil, 127, - nil, nil, 127, 122, 122, 122, 122, 122, 122, 122, - 122, nil, 122, nil, 122, nil, 122, nil, 122, 92, - 122, nil, 92, 122, 92, 92, 92, 92, 36, nil, - nil, 36, 36, 36, 36, 36, 36, 52, nil, nil, - 52, 52, 52, 52, 52, 52, 126, 126, 126, 126, - 126, 126, 126, 126, 126, 142, nil, nil, 142, 142, - 142, 142, 142, 142, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 163, 163, 163, 163, 163, 163, 163, - 163, 163, 171, 171, 171, 171, 171, 171, 171, 171, - 171, 95, 95, 95, 95, 95, 95, 95, 95, 158, - 158, 158, 158, 158, 158, 158, 158, 168, 168, 168, - 168, 168, 168, 168, 168, 27, 27, 27, 27, 27, - 27 ] + 42, nil, nil, 42, 122, 122, 122, 122, 122, 122, + 122, 122, nil, 122, nil, 122, nil, 122, nil, 122, + nil, 122, nil, nil, 122, 127, 127, 127, 127, 127, + 127, 127, 127, nil, 127, nil, 127, nil, 127, nil, + 127, nil, 127, 36, nil, 127, 36, 36, 36, 36, + 36, 36, 52, nil, nil, 52, 52, 52, 52, 52, + 52, 92, nil, nil, 92, nil, 92, 92, 92, 92, + 126, 126, 126, 126, 126, 126, 126, 126, 126, 142, + nil, nil, 142, 142, 142, 142, 142, 142, 159, 159, + 159, 159, 159, 159, 159, 159, 159, 163, 163, 163, + 163, 163, 163, 163, 163, 163, 171, 171, 171, 171, + 171, 171, 171, 171, 171, 95, 95, 95, 95, 95, + 95, 95, 95, 158, 158, 158, 158, 158, 158, 158, + 158, 168, 168, 168, 168, 168, 168, 168, 168, 27, + 27, 27, 27, 27, 27 ] racc_action_pointer = [ - 283, 78, 343, nil, nil, nil, nil, nil, nil, nil, - nil, nil, nil, 365, 387, 409, 135, 157, 176, 198, - 220, nil, nil, nil, nil, nil, nil, 602, nil, 55, - nil, 29, -7, 150, 137, 131, 515, 128, -3, 426, - nil, 145, 447, 96, 321, 302, nil, nil, nil, nil, - nil, nil, 524, nil, nil, nil, nil, nil, 113, 43, - nil, 112, nil, nil, nil, nil, nil, nil, nil, nil, + 135, 9, 157, nil, nil, nil, nil, nil, nil, nil, + nil, nil, nil, 179, 201, 223, 245, 267, 286, 308, + 330, nil, nil, nil, nil, nil, nil, 606, nil, 20, + nil, 18, 39, 60, 69, 79, 510, 89, -3, 352, + nil, 120, 449, 130, 371, 390, nil, nil, nil, nil, + nil, nil, 519, nil, nil, nil, nil, nil, 138, 20, + nil, 43, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, - 132, 66, 506, nil, 153, 577, nil, 20, nil, nil, - 163, nil, nil, nil, nil, nil, nil, nil, nil, nil, + 128, 66, 528, nil, 148, 581, nil, 89, nil, nil, + 149, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, - nil, nil, 489, nil, nil, 17, 533, 468, nil, nil, - nil, nil, nil, nil, nil, nil, nil, nil, 261, nil, - nil, nil, 542, nil, nil, nil, 242, nil, nil, nil, - nil, nil, nil, nil, nil, 89, nil, nil, 585, 551, - nil, nil, 86, 560, 28, 142, nil, nil, 593, nil, - nil, 569, 107, nil, nil, nil, nil, nil, nil ] + nil, nil, 470, nil, nil, 154, 537, 491, nil, nil, + nil, nil, nil, nil, nil, nil, nil, nil, 409, nil, + nil, nil, 546, nil, nil, nil, 428, nil, nil, nil, + nil, nil, nil, nil, nil, 112, nil, nil, 589, 555, + nil, nil, 155, 564, 164, 142, nil, nil, 597, nil, + nil, 573, 164, nil, nil, nil, nil, nil, nil ] racc_action_default = [ -138, -138, -1, -3, -4, -5, -6, -7, -8, -9, @@ -412,15 +412,15 @@ racc_action_default = [ -60, -138, -34, -36, -37, -29, -30, -32, -34 ] racc_goto_table = [ - 126, 44, 125, 52, 144, 144, 160, 93, 97, 43, - 166, 82, 144, 41, 40, 39, 138, 146, 169, 90, - 36, 52, 44, 1, 52, 129, 169, 94, 59, 83, - 123, 30, 151, 92, 121, 120, 31, 32, 33, 34, - 35, 170, 58, 166, 167, 147, 170, 166, 37, nil, + 126, 44, 125, 43, 144, 144, 160, 93, 97, 52, + 166, 82, 144, 40, 41, 39, 138, 146, 169, 30, + 36, 94, 44, 1, 123, 129, 169, 52, 90, 37, + 52, 167, 147, 92, 120, 121, 31, 32, 33, 34, + 35, 170, 58, 166, 59, 83, 170, 166, 151, nil, 150, nil, 166, 159, 4, 166, 4, nil, nil, nil, nil, 155, nil, 156, 160, nil, nil, 4, 4, 4, - 4, 4, nil, 4, 5, nil, 5, 52, nil, nil, - 163, nil, 162, 157, nil, 168, nil, 5, 5, 5, + 4, 4, nil, 4, 5, nil, 5, 157, nil, nil, + 163, nil, 162, 52, nil, 168, nil, 5, 5, 5, 5, 5, nil, 5, nil, nil, nil, nil, 144, nil, nil, nil, 144, nil, nil, 129, 144, 144, nil, 6, 129, 6, nil, nil, nil, nil, 171, 7, nil, 7, @@ -430,15 +430,15 @@ racc_goto_table = [ 11, 11, 11, nil, 11 ] racc_goto_check = [ - 22, 24, 21, 34, 36, 36, 37, 18, 16, 23, - 35, 41, 36, 20, 19, 17, 25, 25, 28, 14, - 13, 34, 24, 1, 34, 24, 28, 23, 38, 39, - 23, 3, 42, 17, 20, 19, 1, 1, 1, 1, - 1, 33, 1, 35, 29, 32, 33, 35, 15, nil, + 22, 24, 21, 23, 36, 36, 37, 18, 16, 34, + 35, 41, 36, 19, 20, 17, 25, 25, 28, 3, + 13, 23, 24, 1, 23, 24, 28, 34, 14, 15, + 34, 29, 32, 17, 19, 20, 1, 1, 1, 1, + 1, 33, 1, 35, 38, 39, 33, 35, 42, nil, 41, nil, 35, 22, 4, 35, 4, nil, nil, nil, nil, 16, nil, 18, 37, nil, nil, 4, 4, 4, - 4, 4, nil, 4, 5, nil, 5, 34, nil, nil, - 22, nil, 21, 23, nil, 22, nil, 5, 5, 5, + 4, 4, nil, 4, 5, nil, 5, 23, nil, nil, + 22, nil, 21, 34, nil, 22, nil, 5, 5, 5, 5, 5, nil, 5, nil, nil, nil, nil, 36, nil, nil, nil, 36, nil, nil, 24, 36, 36, nil, 6, 24, 6, nil, nil, nil, nil, 22, 7, nil, 7, @@ -448,11 +448,11 @@ racc_goto_check = [ 11, 11, 11, nil, 11 ] racc_goto_pointer = [ - nil, 23, nil, 29, 54, 74, 109, 117, 127, nil, - nil, 135, nil, 2, -17, 30, -30, -3, -29, -4, - -5, -40, -42, -9, -17, -28, nil, nil, -120, -83, - nil, nil, -7, -101, -15, -116, -40, -91, 8, 2, - nil, -9, -29 ] + nil, 23, nil, 17, 54, 74, 109, 117, 127, nil, + nil, 135, nil, 2, -8, 11, -30, -3, -29, -5, + -4, -40, -42, -15, -17, -28, nil, nil, -120, -96, + nil, nil, -20, -101, -9, -116, -40, -91, 24, 18, + nil, -9, -13 ] racc_goto_default = [ nil, nil, 2, 3, 46, 47, 48, 49, 50, 9, |