parsanol 1.3.57-aarch64-mingw-ucrt → 1.3.58-aarch64-mingw-ucrt

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: da0d623c2be50bfeb9c8e88be756c46667e1800215fdb7cee98bbe01933f0bdb
4
- data.tar.gz: ee828b8c0830e85ac307eb864a3d15200251075367cbab5ce26ccb06bcdfefb7
3
+ metadata.gz: b21081e16e306692b5bc8f35a2295ee0705cf80c4ad88c27836e13bbb2f673d6
4
+ data.tar.gz: ceae5adf9544b7161a7913408e7446fba3e698821a7477af2b1048027f64ef15
5
5
  SHA512:
6
- metadata.gz: 32fc4d3f4003e4ab3b0899ac8e066bfb2b5d217059c6b7d66cf8533f363052b9ae34851f371bc12981268a0d77187843908268839aa0afa032e5a09470c5468c
7
- data.tar.gz: ca9ab41b1358c91bd9000e4a1d739818b7e9b3eaf283a1b0df700eea9132a60e4ec11c3d2bad69002c2c094d0b30459cc47827f253de828af7be3ea34de41beb
6
+ metadata.gz: 403f6de72028b2e32fb24bbad8521cf129b5cfe80460dd7787398088b769bfc60d21fa6766a9008076df6b341bffa2f1d2ce55ba885909540468559be3637c14
7
+ data.tar.gz: 8a876155484aafb2c6912d949da7799a99d70b6357358c4281e35994960b51cd822033868b3e115d9332cb6fbd313c51ccf7c71e25ad69f3de628319eb2c4f2c
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/3.4/parsanol_native.so
3
3
  size: 39194112 bytes
4
- sha256: b0c6e9ef52446ec4d2379173cff125e08117b165c6c54951c91024d6f6338d2a
4
+ sha256: 9152f50029f048fdcbbdac73f7aaf013ab3792265cf13e152c28e384d67057de
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/4.0/parsanol_native.so
3
3
  size: 39204352 bytes
4
- sha256: 1ebbee9aef38630b866a788ec57bc22c655c48ad9da05bec8f188ce297641041
4
+ sha256: 1a506757b159cac6961889fbfc8476c17d8df8f3dab054040b854d1d8ba130a7
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/native/parsanol.dll
3
3
  size: 34783232 bytes
4
- sha256: f543c3a9ae91b257b6b1e4a4e2d65217ed30b78175be60cbe3d4ad2b3b6caeda
4
+ sha256: 83706a1f9d74cb16831881d12e1a8c27726aa3803b2161c9ab1233d15bf9b44b
@@ -241,6 +241,14 @@ module Parsanol
241
241
  value.raise
242
242
  end
243
243
 
244
+ if (marker = error.message.match(NATIVE_POS_MARKER))
245
+ source = Parsanol::Source.new(input)
246
+ cause = Parsanol::Cause.new(
247
+ error.message.sub(NATIVE_POS_MARKER, ""), source, marker[1].to_i
248
+ )
249
+ raise Parsanol::ParseFailed.new(cause.to_s, cause)
250
+ end
251
+
244
252
  source = Parsanol::Source.new(input)
245
253
  cause = Parsanol::Cause.new(error.message, source, source.bytepos)
246
254
  raise Parsanol::ParseFailed.new(cause.to_s, cause)
data/lib/parsanol/parg.rb CHANGED
@@ -1,5 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # The PARG compiler builds Parsanol atoms, so requiring "parsanol/parg"
4
+ # directly must also load the parsanol core.
5
+ require "parsanol"
6
+
3
7
  module Parsanol
4
8
  # PARG — the parsanol grammar language.
5
9
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Parsanol
4
- VERSION = "1.3.57"
4
+ VERSION = "1.3.58"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parsanol
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.57
4
+ version: 1.3.58
5
5
  platform: aarch64-mingw-ucrt
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-09-30 00:00:00.000000000 Z
11
+ date: 2026-10-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A small Ruby library for constructing parsers in the PEG (Parsing Expression
14
14
  Grammar) fashion. Parsanol provides Parslet-compatible API with additional features