parser 3.1.2.0 → 3.1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99a2cb2ef9fe58be50862176d8ee8b7fc1f3e616e16360b6777c7f0a366c37fb
4
- data.tar.gz: ec7f0703c68564fdc55fc5a402ead6978da0bc3af9650dbc5d93127ce458b2d8
3
+ metadata.gz: 2af0967a09b6a9965a76198eb9081b7b1a7f287534ed6ebd904c3dab4071ab31
4
+ data.tar.gz: ff41dd72074325e42b743a5653526ab536984bbc007d41b3407e3f7641c96cd9
5
5
  SHA512:
6
- metadata.gz: 3474317cdd46eb6085244fc57c91d7bcc7a157550fe834e5d58792d472861fa3420d381535554dfaba5fd30142c60040cbc59973694e241ee8aa5ba7a9655690
7
- data.tar.gz: 3a7cbfec0dfe94ea448930357d2692806080c033f3ccc0d2af472d7abc18d2e3c72d1bd163852310f5e852f188bc4ed7f2336a178bcbdcb2a1f7b79d438dbcf7
6
+ metadata.gz: 9c6dec85eb0fb4a735eec43846ea605312891b880aa198cf172a85a57dceb80ae33120699ca8ef854bd33b5f89252b13f4ff9f800c9124ac9fb779e83c211230
7
+ data.tar.gz: 2dbbfe323c61fbf395743ba81443104b652ab8d2a736e7ac3d1f01229ccf9551c2edf13f48c901ca3e8c3337780c0d91cf6bd0cbadcb53d6209b092ff398a0a5
data/lib/parser/ruby31.rb CHANGED
@@ -4479,6 +4479,7 @@ def _reduce_57(val, _values, result)
4479
4479
  @lexer.state = :expr_beg
4480
4480
  @lexer.command_start = false
4481
4481
  @pattern_variables.push
4482
+ @pattern_hash_keys.push
4482
4483
 
4483
4484
  result = @context.in_kwarg
4484
4485
  @context.in_kwarg = true
@@ -4488,6 +4489,7 @@ end
4488
4489
 
4489
4490
  def _reduce_58(val, _values, result)
4490
4491
  @pattern_variables.pop
4492
+ @pattern_hash_keys.pop
4491
4493
  @context.in_kwarg = val[2]
4492
4494
  result = @builder.match_pattern(val[0], val[1], val[3])
4493
4495
 
@@ -4498,6 +4500,7 @@ def _reduce_59(val, _values, result)
4498
4500
  @lexer.state = :expr_beg
4499
4501
  @lexer.command_start = false
4500
4502
  @pattern_variables.push
4503
+ @pattern_hash_keys.push
4501
4504
 
4502
4505
  result = @context.in_kwarg
4503
4506
  @context.in_kwarg = true
@@ -4507,6 +4510,7 @@ end
4507
4510
 
4508
4511
  def _reduce_60(val, _values, result)
4509
4512
  @pattern_variables.pop
4513
+ @pattern_hash_keys.pop
4510
4514
  @context.in_kwarg = val[2]
4511
4515
  result = @builder.match_pattern_p(val[0], val[1], val[3])
4512
4516
 
data/lib/parser/ruby32.rb CHANGED
@@ -4473,6 +4473,7 @@ def _reduce_57(val, _values, result)
4473
4473
  @lexer.state = :expr_beg
4474
4474
  @lexer.command_start = false
4475
4475
  @pattern_variables.push
4476
+ @pattern_hash_keys.push
4476
4477
 
4477
4478
  result = @context.in_kwarg
4478
4479
  @context.in_kwarg = true
@@ -4482,6 +4483,7 @@ end
4482
4483
 
4483
4484
  def _reduce_58(val, _values, result)
4484
4485
  @pattern_variables.pop
4486
+ @pattern_hash_keys.pop
4485
4487
  @context.in_kwarg = val[2]
4486
4488
  result = @builder.match_pattern(val[0], val[1], val[3])
4487
4489
 
@@ -4492,6 +4494,7 @@ def _reduce_59(val, _values, result)
4492
4494
  @lexer.state = :expr_beg
4493
4495
  @lexer.command_start = false
4494
4496
  @pattern_variables.push
4497
+ @pattern_hash_keys.push
4495
4498
 
4496
4499
  result = @context.in_kwarg
4497
4500
  @context.in_kwarg = true
@@ -4501,6 +4504,7 @@ end
4501
4504
 
4502
4505
  def _reduce_60(val, _values, result)
4503
4506
  @pattern_variables.pop
4507
+ @pattern_hash_keys.pop
4504
4508
  @context.in_kwarg = val[2]
4505
4509
  result = @builder.match_pattern_p(val[0], val[1], val[3])
4506
4510
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Parser
4
- VERSION = '3.1.2.0'
4
+ VERSION = '3.1.2.1'
5
5
  end
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.1.2.0
4
+ version: 3.1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - whitequark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-12 00:00:00.000000000 Z
11
+ date: 2022-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ast
@@ -246,9 +246,9 @@ licenses:
246
246
  - MIT
247
247
  metadata:
248
248
  bug_tracker_uri: https://github.com/whitequark/parser/issues
249
- changelog_uri: https://github.com/whitequark/parser/blob/v3.1.2.0/CHANGELOG.md
250
- documentation_uri: https://www.rubydoc.info/gems/parser/3.1.2.0
251
- source_code_uri: https://github.com/whitequark/parser/tree/v3.1.2.0
249
+ changelog_uri: https://github.com/whitequark/parser/blob/v3.1.2.1/CHANGELOG.md
250
+ documentation_uri: https://www.rubydoc.info/gems/parser/3.1.2.1
251
+ source_code_uri: https://github.com/whitequark/parser/tree/v3.1.2.1
252
252
  post_install_message:
253
253
  rdoc_options: []
254
254
  require_paths: