parsanol 1.3.118 → 1.3.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6468b7f70f6c5e61ea1e3661e9a052206730f7f07f71fb9ec9e57777fe777a6d
4
- data.tar.gz: 17e99bf63b7b0001499e2844c93e4aabf14f64760a85cfc79a6fdad5c290e51e
3
+ metadata.gz: 67aae8e5d3989aea79f8b7934427aa3bc48f5538e376b064b41139f2cf2a7ee5
4
+ data.tar.gz: 20e5ad4cf20805a5f5f3416bd3b9e01c6f641dae2445d426e3d18940f675084d
5
5
  SHA512:
6
- metadata.gz: 90a1d39c526c512b4d7a55bc328b0530a92ae010c4a4febb91cc8b5408d0d070c20ef4e2cda81695c739fb94bdd29421434eb806c52b6ac060ac85fd8380c615
7
- data.tar.gz: '083ed02a83cfbbbe16ef6bd3ec922229a35c52f9d81935458b86fbce4433264038ad390ed958b4602b0a414a7aad7dadf06e052e1fdb9f40c935465c74665308'
6
+ metadata.gz: 1c841924f938fb86048edc8aef0f3634e9f0a9a25285bf654867896ece9c5158d9e21f680a5f8d89d01dd0bf383777e6b646a40dcbc94a65b40e3f75543dbf3b
7
+ data.tar.gz: 99f3cfd84878458d5657f3a3626c17f74af3e7faf7bd63af4977ca6d133cdb7d9adcbb130087a783d452e4155443b51ffdfe14b77cc04019fe87c3a4ce76c44a
data/Cargo.lock CHANGED
@@ -307,9 +307,9 @@ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
307
307
 
308
308
  [[package]]
309
309
  name = "parsanol"
310
- version = "0.19.15"
310
+ version = "0.19.16"
311
311
  source = "registry+https://github.com/rust-lang/crates.io-index"
312
- checksum = "f14e6d53cab2665d789adc8e28ff2181899501ef56afc4d65100f09a6d9c8101"
312
+ checksum = "f596e68877779b96fc95f22596888ae5aa225808d3036b07bbe4bdea64dc1ce7"
313
313
  dependencies = [
314
314
  "ahash",
315
315
  "getrandom 0.3.4",
@@ -326,9 +326,9 @@ dependencies = [
326
326
 
327
327
  [[package]]
328
328
  name = "parsanol-derive"
329
- version = "0.19.15"
329
+ version = "0.19.16"
330
330
  source = "registry+https://github.com/rust-lang/crates.io-index"
331
- checksum = "a5066e2da7badb25efb562dbebb6d0fc287e6e4dc7bd06b1da4b502bf349d94d"
331
+ checksum = "6c143eb5133735869adbf4740919948c5f6a2cf234beb16e0b57bcfd5fdbd1a6"
332
332
  dependencies = [
333
333
  "proc-macro2",
334
334
  "quote",
@@ -74,6 +74,14 @@ module Parsanol
74
74
  # any instance keep the legacy occurrence pairing.
75
75
  instances = shape && group_instances(shape, prefix)
76
76
  if instances
77
+ # The occurrence path's `return if count.zero?`: a repetition
78
+ # that fired zero iterations (the tree carries `parts: []`)
79
+ # binds no key — the recorded native expectations and the
80
+ # pubid builders rely on the absent reading (the empty-array
81
+ # binding regression, caught by the pubid corpus gate; see
82
+ # parsanol-rs#370).
83
+ return if instances.empty?
84
+
77
85
  list = (out[prefix.to_sym] ||= [])
78
86
  instances.each do |instance|
79
87
  found = collect_captures(instance)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Parsanol
4
- VERSION = "1.3.118"
4
+ VERSION = "1.3.119"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parsanol
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.118
4
+ version: 1.3.119
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.