parsanol 1.3.119-aarch64-linux → 1.3.120-aarch64-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: 6bc69c6f8f149a49877c287b58554039837d9fadd5b2ffa5cfc7156fe8ea2669
4
- data.tar.gz: 497b4e676d00db7ed7cd568b838afdf5dbc483d6f1b31ed410d0b5b40e659568
3
+ metadata.gz: 2a31d197ab587e42fe5d86c321ce67fe443f335000f4e5ea3b3252be77f30e7b
4
+ data.tar.gz: fcf0ca00453f25d80266925613a66d37b63af0005092d326691e43373c81e398
5
5
  SHA512:
6
- metadata.gz: 1e536466c856f63bec93ea0304bb243824a93166755cde9523027e24e4bbd9f5cbea480af7d54002ba767b3264a77d61607ea5d26f6db705501516692e763417
7
- data.tar.gz: 7d1528295c1662ecc4bdc5d7921cd6881a84eba23aa9decfa80c51a8cebb37aa56d8f74b8b35f97a6b04f8a3dfa5a5e704165d39d6f05d966c9a51fa8c276b82
6
+ metadata.gz: 10a760b18293aa89c80e7fa0d338dcaa250bb0a0e6ec029ac3a4948c54acdb085a2d188735dcf865d111a3905f6af9c35c4c6646bd95ae1748b7955aeddaa966
7
+ data.tar.gz: 174bc60f816e1e9c4742a67c49a03c9fb3ed3bd5d28401906804847b5e59159c3ad109a619d0d3f07ac8a85403dd2aed3bfc0a92d82119e5fc899430913e47f2
@@ -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: 46706480 bytes
4
- sha256: 5de57a3ae0a6b69ccc574b10b082af001e7563abc1df957cbfabd5b63693d719
3
+ size: 46689744 bytes
4
+ sha256: 6aee92ae1f329f8f7064d3345caceeb1141432124a8296218cbb818263741082
@@ -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: 46945656 bytes
4
- sha256: 3ce89e2447627d3f0499290944460878aafd2c28fdf525ec498df97ed1a564c3
3
+ size: 46928888 bytes
4
+ sha256: f616cd35cda536849a7fc8cd5409ccf50247e3f69c5176b1d401c4cd707b6fcc
@@ -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: 46949720 bytes
4
- sha256: c999b162128e3ae05612ea69d7d3ccf8d47de5556e68f905b482a153d20307f0
3
+ size: 46932960 bytes
4
+ sha256: 29b670c8134f5357e1f0bada2ade1767a42adc3b439bea040f91d2b0490fd14a
@@ -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: 46959696 bytes
4
- sha256: 198a181b482ad960478f3ca9d00622654922bc84965a91bf5a48a3d6a528eac2
3
+ size: 46942936 bytes
4
+ sha256: 5e63ce33adfb223b0fc9e23e2e78df30bd0b72fb2c3c1e7d12254e3072fa2e93
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/native/libparsanol.so
3
- size: 42415720 bytes
4
- sha256: aad9b75d82e5e890f31c7be9e6acf9c6f692bb027033b5f4d1f0eb4a242dd329
3
+ size: 42399272 bytes
4
+ sha256: fa3f3335a4ce0d73dd2c86c11f683d0418b913337b90543ab5a6be2c5a4daed9
@@ -37,8 +37,8 @@ module Parsanol
37
37
  @grammar_name = nil
38
38
  # The default capture dialect is v1 (the owner's reversal,
39
39
  # 2026-10-28): runtime compiles of unpinned sources keep the
40
- # legacy shapes — the pubid fleet froze against them. mode "v2"
41
- # stays the named-trees opt-in via the grammar header.
40
+ # legacy shapes — the pubid fleet froze against them. edition
41
+ # "v2" is the named-trees opt-in via the grammar header.
42
42
  @edition = "v1"
43
43
  @version = "0.0.0"
44
44
  @source = nil
@@ -261,12 +261,16 @@ module Parsanol
261
261
  # the author declares, per grammar, which tree semantics the
262
262
  # grammar means. THE DEFAULT IS 1 (the legacy shapes — the
263
263
  # owner's 2026-10-28 reversal). 2 = fully named trees +
264
- # explicit spans. `mode` remains accepted as a deprecated
265
- # alias for the keyword. The edition is canonicalized here —
266
- # everything downstream only ever sees "v1"/"v2".
267
- if peek&.type == :ident && %w[edition mode].include?(peek.value)
264
+ # explicit spans. The edition is canonicalized here —
265
+ # everything downstream only ever sees "v1"/"v2". The
266
+ # pre-1.3.113 `mode` alias was removed (the owner's
267
+ # 2026-10-31 ruling): the header fails with the fix named.
268
+ if peek&.type == :ident && peek.value == "edition"
268
269
  advance
269
270
  document.edition = edition_value
271
+ elsif peek&.type == :ident && peek.value == "mode"
272
+ raise ParseError,
273
+ 'the grammar header keyword is edition; mode (the pre-1.3.113 alias) was removed — write edition "v1" or edition "v2"'
270
274
  end
271
275
  punct("{")
272
276
  skip_newlines
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Parsanol
4
- VERSION = "1.3.119"
4
+ VERSION = "1.3.120"
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.119
4
+ version: 1.3.120
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-10-31 00:00:00.000000000 Z
11
+ date: 2026-11-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