teptris 0.3.29.0-arm-linux → 0.3.31.0-arm-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.
@@ -546,6 +546,11 @@ static ra *ralternation(pctx *c);
546
546
  static ra *ratom(pctx *c) {
547
547
  if (c->pos >= c->n) return NULL;
548
548
  uint32_t ch = c->s[c->pos];
549
+ if (ch == '*' || ch == '+') {
550
+ /* a quantifier with nothing to repeat ('*a') */
551
+ pfail(c, "quantifier without a preceding atom");
552
+ return NULL;
553
+ }
549
554
  switch (ch) {
550
555
  case ')':
551
556
  return NULL; /* the enclosing group's terminator */
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Teptris
4
- VERSION = "0.3.29.0"
4
+ VERSION = "0.3.31.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teptris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.29.0
4
+ version: 0.3.31.0
5
5
  platform: arm-linux
6
6
  authors:
7
7
  - teptris contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-11 00:00:00.000000000 Z
11
+ date: 2026-11-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A native C extension over libteptris, a C99 TOML 1.1 parser/emitter.
14
14
  API shape mirrors the tomlib gem.
@@ -53,6 +53,7 @@ files:
53
53
  - ext/teptris_ext/engine/src/teptris/parse/scalars.c
54
54
  - ext/teptris_ext/engine/src/teptris/plan/plan.c
55
55
  - ext/teptris_ext/engine/src/teptris/schema/formats.c
56
+ - ext/teptris_ext/engine/src/teptris/schema/idna_tables.h
56
57
  - ext/teptris_ext/engine/src/teptris/schema/json_read.c
57
58
  - ext/teptris_ext/engine/src/teptris/schema/json_read.h
58
59
  - ext/teptris_ext/engine/src/teptris/schema/metaschemas.c