parsanol 1.3.78-x86_64-linux → 1.3.79-x86_64-linux

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: c5118c15fe8ff1e136b25f311295045b226103a4fb67a5915495b642a802779f
4
- data.tar.gz: 935a7523d4f7768f34e99cdcb480ecd7a3955fa04f82ad72bdf08dda7ab2a771
3
+ metadata.gz: f9f9d9ec490f891f2c0f15284a8b0717077d05b26c9b3d92da5e5ee5e7afad10
4
+ data.tar.gz: 1e84a67ca8208943b70a0b6b5c87a88dd3859e54d9d866f99d3f0fdbbfc9b19d
5
5
  SHA512:
6
- metadata.gz: 16ef607cbf5f4b936043284262a38867216932406ba579eb5e6c7346c1893940619846987a4a6acbf87bb5c886f87c177aa6674e30d5397f81d1bf5a8e4286ed
7
- data.tar.gz: c8ff1ed736acf5e359fd8316d29a7a998c539cdd4736689448e17bad480e28c422b7e099b90ead1644c4a8990b521e19bd0d8323a52e89a3435805c9fb79156b
6
+ metadata.gz: 6f87ec4ebb2e3695e64ed74b3e3cd96dac4dad466310f13b30fa4bd254a9b198278ac98996d6889b0c8a0cd4a7f89a03bdc826afcbe6fdee1a03b68736fa07e7
7
+ data.tar.gz: de3e6a9b1f6fe78e2facdd0cb011d2c41105decd5e98ee52841c8f5a78b948c12d265804d8f5d2c1d1a38c7f93fb21842c027d80d7438f53a8f5d0c9a58a7249
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/3.2/parsanol_native.so
3
- size: 40666976 bytes
4
- sha256: 213bb30b401b6e58fb6f7286ded0f92b73182eaa5e99344a7713ed0a7c288661
3
+ size: 40668848 bytes
4
+ sha256: cc55d0e67a08358e417a2dde0bac502ac6c88b206422dd1a23ba78ad893ccee6
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/3.3/parsanol_native.so
3
- size: 40896968 bytes
4
- sha256: 35e2f9e59adde04248b1ddbb50096775f590839a1617acec64605dcd85c14716
3
+ size: 40898840 bytes
4
+ sha256: 242bf2e2f8840eea3ae16821dd6b8523ad340aafcc26ad8cde59047a16cf61e2
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/3.4/parsanol_native.so
3
- size: 40895936 bytes
4
- sha256: 833fa5c61ef0fa9d66e20cbc389315c7ecca873a3bebfc910b094330120321ce
3
+ size: 40894072 bytes
4
+ sha256: babeebeded73599c88414f598d6748cd2bc1949cd9e6a640cb37171d2c8be62e
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/4.0/parsanol_native.so
3
- size: 40905856 bytes
4
- sha256: 914514c6295293826cb45df921a3ae2fb5b104dc2200eeabba064a334cce7083
3
+ size: 40904000 bytes
4
+ sha256: 4f011761cb9c765198ed41a578bf966068507eb25e8df477d522adf6eeb966ab
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/native/libparsanol.so
3
- size: 36573688 bytes
4
- sha256: 71b36349b2fd39cb3936ffa5c1044c33efd3d92f7f2c38851149d08b2b742799
3
+ size: 36572808 bytes
4
+ sha256: 1a41f8870d6eacb9630a9a9fc787d110aa2296d14fd2dfd9fd56c677370196ee
@@ -74,7 +74,15 @@ module Parsanol
74
74
  # grammar JSON and re-registered it per parse (~8x).
75
75
  # Dynamic artifacts carry ruby-tier atoms their wire
76
76
  # cannot express — they keep the interpreter.
77
- return root_atom(entry_name).parse(input, mode: :native)
77
+ begin
78
+ return root_atom(entry_name).parse(input, mode: :native)
79
+ rescue Parsanol::ParseFailed
80
+ # The atom-tree native path reports the root position; the
81
+ # wire-registration path carries the deepest-failure
82
+ # diagnostics (parsanol-ruby#171). Failures pay the
83
+ # serialization once; successes keep the fast lane.
84
+ return Native.parse(JSON.generate(entry(entry_name).fetch("grammar")), input)
85
+ end
78
86
  end
79
87
 
80
88
  root_atom(entry_name).parse(input)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Parsanol
4
- VERSION = "1.3.78"
4
+ VERSION = "1.3.79"
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.78
4
+ version: 1.3.79
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Ribose Inc.