parser 3.2.1.0 → 3.2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/parser/ast/node.rb +2 -2
- data/lib/parser/builders/default.rb +7 -2
- data/lib/parser/macruby.rb +1 -1
- data/lib/parser/ruby18.rb +1 -1
- data/lib/parser/ruby19.rb +1 -1
- data/lib/parser/ruby20.rb +1 -1
- data/lib/parser/ruby21.rb +1 -1
- data/lib/parser/ruby22.rb +1 -1
- data/lib/parser/ruby23.rb +1 -1
- data/lib/parser/ruby24.rb +1 -1
- data/lib/parser/ruby25.rb +1 -1
- data/lib/parser/ruby26.rb +1 -1
- data/lib/parser/ruby27.rb +1 -1
- data/lib/parser/ruby30.rb +1 -1
- data/lib/parser/ruby31.rb +1 -1
- data/lib/parser/ruby32.rb +1 -1
- data/lib/parser/ruby33.rb +1 -1
- data/lib/parser/rubymotion.rb +1 -1
- data/lib/parser/version.rb +1 -1
- data/parser.gemspec +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4e9c12d9347a88fa7fb419e76b338e1d69a647a841be6c2440b0370f6bf3e5f
|
4
|
+
data.tar.gz: 2a297a328b99e43ad62241d9c8a5cf1b73f68dcc13ed5afaabbd0028b547c6f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 330a825c26fdcbc939dd171df1994b5879f38ba896c5130ef70bdf703dd26f374eec9b7511363ff3b84daebf4be9470b836e98b6086725510a14300eea5b8dde
|
7
|
+
data.tar.gz: aa843389469df522448da099801725c294852d2641d9bc276319fa7fdd1cbfe1af88c898b7edc821cf948bf4d307617f2c1621c7f0bf3372d9bbef8868a724a1
|
data/lib/parser/ast/node.rb
CHANGED
@@ -5,8 +5,8 @@ module Parser
|
|
5
5
|
|
6
6
|
##
|
7
7
|
# {Parser::AST::Node} contains information about a single AST node and its
|
8
|
-
# child nodes. It extends the basic [AST::Node](
|
9
|
-
# class provided by gem [ast](
|
8
|
+
# child nodes. It extends the basic [AST::Node](https://www.rubydoc.info/gems/ast/AST/Node)
|
9
|
+
# class provided by gem [ast](https://www.rubydoc.info/gems/ast).
|
10
10
|
#
|
11
11
|
# @api public
|
12
12
|
#
|
@@ -540,8 +540,13 @@ module Parser
|
|
540
540
|
def associate(begin_t, pairs, end_t)
|
541
541
|
0.upto(pairs.length - 1) do |i|
|
542
542
|
(i + 1).upto(pairs.length - 1) do |j|
|
543
|
-
|
544
|
-
|
543
|
+
pair_i = pairs[i]
|
544
|
+
pair_j = pairs[j]
|
545
|
+
|
546
|
+
next if pair_i.type != :pair || pair_j.type != :pair
|
547
|
+
|
548
|
+
key1, = *pair_i
|
549
|
+
key2, = *pair_j
|
545
550
|
|
546
551
|
do_warn = false
|
547
552
|
|
data/lib/parser/macruby.rb
CHANGED
data/lib/parser/ruby18.rb
CHANGED
data/lib/parser/ruby19.rb
CHANGED
data/lib/parser/ruby20.rb
CHANGED
data/lib/parser/ruby21.rb
CHANGED
data/lib/parser/ruby22.rb
CHANGED
data/lib/parser/ruby23.rb
CHANGED
data/lib/parser/ruby24.rb
CHANGED
data/lib/parser/ruby25.rb
CHANGED
data/lib/parser/ruby26.rb
CHANGED
data/lib/parser/ruby27.rb
CHANGED
data/lib/parser/ruby30.rb
CHANGED
data/lib/parser/ruby31.rb
CHANGED
data/lib/parser/ruby32.rb
CHANGED
data/lib/parser/ruby33.rb
CHANGED
data/lib/parser/rubymotion.rb
CHANGED
data/lib/parser/version.rb
CHANGED
data/parser.gemspec
CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
|
31
31
|
spec.add_development_dependency 'bundler', '>= 1.15', '< 3.0.0'
|
32
32
|
spec.add_development_dependency 'rake', '~> 13.0.1'
|
33
|
-
spec.add_development_dependency 'racc', '= 1.6.
|
33
|
+
spec.add_development_dependency 'racc', '= 1.6.2'
|
34
34
|
spec.add_development_dependency 'cliver', '~> 0.3.2'
|
35
35
|
|
36
36
|
spec.add_development_dependency 'yard'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.1.
|
4
|
+
version: 3.2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- whitequark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ast
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - '='
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 1.6.
|
67
|
+
version: 1.6.2
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - '='
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: 1.6.
|
74
|
+
version: 1.6.2
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: cliver
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -249,9 +249,9 @@ licenses:
|
|
249
249
|
- MIT
|
250
250
|
metadata:
|
251
251
|
bug_tracker_uri: https://github.com/whitequark/parser/issues
|
252
|
-
changelog_uri: https://github.com/whitequark/parser/blob/v3.2.1.
|
253
|
-
documentation_uri: https://www.rubydoc.info/gems/parser/3.2.1.
|
254
|
-
source_code_uri: https://github.com/whitequark/parser/tree/v3.2.1.
|
252
|
+
changelog_uri: https://github.com/whitequark/parser/blob/v3.2.1.1/CHANGELOG.md
|
253
|
+
documentation_uri: https://www.rubydoc.info/gems/parser/3.2.1.1
|
254
|
+
source_code_uri: https://github.com/whitequark/parser/tree/v3.2.1.1
|
255
255
|
post_install_message:
|
256
256
|
rdoc_options: []
|
257
257
|
require_paths:
|