[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/yaml 0db4ab0a1e 046/124: Improve parsing error message
From: |
ELPA Syncer |
Subject: |
[elpa] externals/yaml 0db4ab0a1e 046/124: Improve parsing error message |
Date: |
Fri, 29 Nov 2024 15:59:59 -0500 (EST) |
branch: externals/yaml
commit 0db4ab0a1e9052c23269873786db8ee3c00e5b6b
Author: Zachary Romero <zacromero@posteo.net>
Commit: Zachary Romero <zacromero@posteo.net>
Improve parsing error message
---
yaml.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/yaml.el b/yaml.el
index be245773c6..19a78fd27e 100644
--- a/yaml.el
+++ b/yaml.el
@@ -969,9 +969,9 @@ value. It defaults to the symbol :false."
(yaml--top))))
(when (< yaml--parsing-position (length yaml--parsing-input))
- (error (format "parser finished before end of input %s/%s"
- yaml--parsing-position
- (length yaml--parsing-input))))
+ (error "Unable to parse YAML stream. Parser finished before end of
input %s/%s"
+ yaml--parsing-position
+ (length yaml--parsing-input)))
(when yaml--parse-debug (message "Parsed data: %s" (pp-to-string res)))
(yaml--walk-events res)
(if (zerop (hash-table-count yaml--anchor-mappings))
- [elpa] externals/yaml ee9001e091 063/124: Fix the escape character in parser (after /), (continued)
- [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
- [elpa] externals/yaml 67d86e158e 033/124: Add code documentation; remove unused code, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 091521769e 019/124: Add readme file, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 8a3303b59e 015/124: Fix indentation bug, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 9ebddb5523 047/124: Merge pull request #5 from zkry/improve-parsing-error-message, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 0db4ab0a1e 046/124: Improve parsing error message,
ELPA Syncer <=
- [elpa] externals/yaml e2fe7e2e57 042/124: Merge pull request #3 from zkry/add-yaml-spec-json, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 6d52649383 076/124: Fix list encoding indentation #29, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml bda9a00090 058/124: return alist key as a symbol as a default, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 45aa819a4f 068/124: Add MELPA tag to README, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 37c176fc5c 086/124: Fix the anchor parse event turning maps into lists, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml f546dac2a8 082/124: Initial implementation of position storage, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml c07cc6d0f3 089/124: Merge pull request #35 from zkry/fix-yaml-anchor-match-definition, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 14e6e4bc3d 095/124: Merge pull request #37 from zkry/fix-folded-block-parsing-error, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 0ac7f365bb 104/124: Merge pull request #41 from zkry/fix-property-prop-bug, ELPA Syncer, 2024/11/29
- [elpa] externals/yaml 900ca55584 119/124: Fix failing test for parsing scalars, ELPA Syncer, 2024/11/29