yeptris 0.6.38.0-arm-linux-eabihf → 0.6.39.1-arm-linux-eabihf

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: fd9a7587fab7e1d0fe6a3839608cacbad5f5d13af7a04717cb87df72e57057ca
4
- data.tar.gz: 803d91d2ad6487880f97c7921fb534fa46baa12392f157f749b50e6d92a6c53d
3
+ metadata.gz: b550d3511828de23b6a8c925382eff1d637a9c8391ab8952ef7fbfa3b2d57549
4
+ data.tar.gz: bbe90991005ccb7718ecd3f465fe5563b937153c5ee39d02014baed5a52b725f
5
5
  SHA512:
6
- metadata.gz: 21b4b4cde8992df2336c4166b9f0e7e08adbd3922c16e882087e78e59a27bda4286fe869cc030176428936b7c4be688a3e471517e4a95eb42330444ccbb78528
7
- data.tar.gz: e3ab0a67aff29b1f585c7f86f5c3309228028407bcfdd15376381fdefbd454b9652af13b889f3f6c9a59eea63d9f5fbfed036b5102c9aecc91a986b5cf890d73
6
+ metadata.gz: c9e5c875e40a7220c4a9183f3f000a39d169b1462e425dc37d4cc1389cc2496d52b9d53746ee4759e47d1e2cbc9eea0f4af5e3cd910e085d6d893d3082b971dd
7
+ data.tar.gz: 331d2e087e1dc215eb0a5a3dc7e2f8a0e2ca9755ef49e201eed2c08a04c3931653850a26cfa7cf0af88ed99b02e14a14d6f6c9e4a018712d5ccdb234245d2f81
data/lib/yeptris.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Yeptris
4
4
  # The gem's version lives in the parent namespace's file — the last
5
5
  # internal require (yeptris/version) retired with it.
6
- VERSION = "0.6.38.0".freeze
6
+ VERSION = "0.6.39.1".freeze
7
7
 
8
8
  # Informational notices are OPT-IN (yeptris-ruby#217): consumers
9
9
  # embed yeptris inside CLIs that assert clean stderr, and a
data/libyeptris.so CHANGED
Binary file
@@ -3,7 +3,7 @@
3
3
  cmake_minimum_required(VERSION 3.20)
4
4
 
5
5
  project(yeptris
6
- VERSION 0.6.38
6
+ VERSION 0.6.39
7
7
  DESCRIPTION "Ultra-fast YAML 1.2 parser, emitter and streamer in C"
8
8
  LANGUAGES C CXX
9
9
  )
@@ -1289,15 +1289,29 @@ static void e_props(yep_engine* e, yep_view* anchor, yep_view* tag) {
1289
1289
  * re-lexes as the key indicator and the existing colon
1290
1290
  * arm builds the anchored null key. */
1291
1291
  if (e->p[e->pos - 1] == ':') {
1292
- /* the follower scan crosses blanks AND breaks: the
1293
- * pair separator at line end still opens the value on
1294
- * the next line ("&k:\n {\n}" — the nightly's round
1295
- * 31, crash-c2232e17 — rode the colon and DROPPED the
1296
- * flow map outright) */
1292
+ /* the follower scan crosses blanks, breaks AND
1293
+ * comments: the pair separator at line end still opens
1294
+ * the value on a later line ("&k:\n {\n}" — the
1295
+ * nightly's round 31, crash-c2232e17 — rode the colon
1296
+ * and DROPPED the flow map; "&: #c\n|\nA" — round
1297
+ * 32's crash-d580b467 — stopped at the comment, rode
1298
+ * the colon into the anchor name and pass1/pass2
1299
+ * spelled different trees). A comment is
1300
+ * blank-equivalent here: skip it to its break and keep
1301
+ * scanning. */
1297
1302
  size_t t = e->pos;
1298
- while (t < e->len &&
1299
- (e->p[t] == ' ' || e->p[t] == '\t' || e->p[t] == '\n' || e->p[t] == '\r')) {
1300
- t++;
1303
+ for (;;) {
1304
+ while (t < e->len && (e->p[t] == ' ' || e->p[t] == '\t' || e->p[t] == '\n' ||
1305
+ e->p[t] == '\r')) {
1306
+ t++;
1307
+ }
1308
+ if (t < e->len && e->p[t] == '#') {
1309
+ while (t < e->len && e->p[t] != '\n' && e->p[t] != '\r') {
1310
+ t++;
1311
+ }
1312
+ continue;
1313
+ }
1314
+ break;
1301
1315
  }
1302
1316
  if (t < e->len &&
1303
1317
  (e->p[t] == '[' || e->p[t] == '{' || e->p[t] == '|' || e->p[t] == '>')) {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yeptris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.38.0
4
+ version: 0.6.39.1
5
5
  platform: arm-linux-eabihf
6
6
  authors:
7
7
  - Ribose Inc.