[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/yaml 67e8b5f3dc 096/124: Fix off-by-one bug for storing
From: |
ELPA Syncer |
Subject: |
[elpa] externals/yaml 67e8b5f3dc 096/124: Fix off-by-one bug for storing position |
Date: |
Fri, 29 Nov 2024 16:00:06 -0500 (EST) |
branch: externals/yaml
commit 67e8b5f3dc8c16d5515359820569d4c9642cf424
Author: Zachary Romero <zacromero@posteo.net>
Commit: Zachary Romero <zacromero@posteo.net>
Fix off-by-one bug for storing position
---
yaml.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/yaml.el b/yaml.el
index 916b273871..01e0545df7 100644
--- a/yaml.el
+++ b/yaml.el
@@ -761,7 +761,8 @@ repeat for each character in a text.")
(let ((str (substring yaml--parsing-input beg
yaml--parsing-position)))
(list ,name
(if yaml--parsing-store-position
- (propertize str 'yaml-position (cons beg
yaml--parsing-position))
+ (propertize str 'yaml-position (cons (1+ beg)
+ (1+
yaml--parsing-position)))
str)
,res-symbol)))
((equal res-type 'list) (list ,name ,res-symbol))
- [elpa] branch externals/yaml created (now 70c4fcead9), ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 57254d464a 002/124: update schema, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml b33b2ba412 003/124: Add test file, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 891e158930 008/124: Got parser mostly working., ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 04aae95584 043/124: Fix/add pcase usages, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 67d4b64d15 022/124: Bug fixes, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 95283d460f 034/124: Add emacs 25.1 CI test, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 67e8b5f3dc 096/124: Fix off-by-one bug for storing position,
ELPA Syncer <=
- [elpa] externals/yaml a47f5a8274 054/124: indent buffer, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 164cd43d6e 087/124: Merge pull request #34 from zkry/fix-bad-anchor-map->list-conversion, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml e711e774b1 074/124: Allow parsing false and/or null as nil, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 50a3a00cb8 061/124: FIX insert symbol name when not equal to :null or :false, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml ee9001e091 063/124: Fix the escape character in parser (after /), ELPA Syncer, 2024/11/29
- [elpa] externals/yaml ee86566af1 114/124: Merge pull request #47 from tarsiiformes/typos, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml a15b045399 010/124: Condense grammar functions to one, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 0bb76de608 009/124: Add YAML scalar conversion and type conversion, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 840be1b2b2 012/124: | blocks parse, initial wip, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 64c117d084 052/124: Fix encoding issues for nil, false, and arrays, ELPA Syncer, 2024/11/29