yeptris 0.6.55.1 → 0.6.56.1
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 +4 -4
- data/lib/yeptris.rb +1 -1
- data/vendor/libyeptris/CMakeLists.txt +1 -1
- data/vendor/libyeptris/src/yeptris/parse/engine.c +11 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 45d66deef7a40e47d4e1dff707af10942dc1a03c6015fcf907aa3a7e6cd6097d
|
|
4
|
+
data.tar.gz: 2565feaf9b3ff96ba5b8324e5044aba62883a4b28fc7e003c7b1158ceb6781e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aefc16e8919415fef58a10140e8a82ea38a63c45fcdb10c0794f8cf48ac81923f2b99e56431b2d49c95ea5946ce55c4cc314791c27d34c08b3a40b62d3f6109e
|
|
7
|
+
data.tar.gz: 0dd4517510cf741c8a2d70912014811a88696771dba46acd43784263b6bf6339c987c531c3e6c7ac1aeedb3300928c2da2aaada0705765e9f75d1925f3ccb8ae
|
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.
|
|
6
|
+
VERSION = "0.6.56.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
|
|
@@ -1107,6 +1107,17 @@ static int e_plain_multiline(yep_engine* e, yep_span s0, uint32_t block_floor, y
|
|
|
1107
1107
|
if (s.term == YEP_TERM_COLON) {
|
|
1108
1108
|
return e_fail(e, YEP_ERR_UNEXPECTED, s.end);
|
|
1109
1109
|
}
|
|
1110
|
+
if (s.end == s.start && s.term == YEP_TERM_EOL) {
|
|
1111
|
+
/* The continuation line opens with a raw multibyte break
|
|
1112
|
+
* (NEL/LS/PS): scan stopped on it before any content, and
|
|
1113
|
+
* the line-facts kernel (\n/\r law) could not park it as a
|
|
1114
|
+
* blank line. No piece: the break rides the loop's own
|
|
1115
|
+
* tally, so a run of breaks folds to the (n-1) newline law
|
|
1116
|
+
* -- one fold-space per break made "nnn]\n!<"+NEL^2+"NNN"
|
|
1117
|
+
* read "nnn] !< NNN" where libyaml folds "nnn] !<\nNNN"
|
|
1118
|
+
* (the r102 nightly, yeptris#870). */
|
|
1119
|
+
continue;
|
|
1120
|
+
}
|
|
1110
1121
|
if (e->fold_n >= YEP_MAX_FOLD_LINES) {
|
|
1111
1122
|
return e_fail(e, YEP_ERR_MEMORY, e->pos);
|
|
1112
1123
|
}
|