Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/calm
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2023-02-12 15:36:57 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2023-02-19 20:03:09 +0300
commit55d44e25c32ada23cebf5ed77ea013030d0dc490 (patch)
tree4eeea6ea0e623cc4fa205292ddaf03d750feabc6 /calm
parent4efd27f70df3bf107bf7ad9b80e407f98da6f862 (diff)
Improve hint parser error for embedded double quote
Diffstat (limited to 'calm')
-rwxr-xr-xcalm/hint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/calm/hint.py b/calm/hint.py
index 28a81b0..71fa7b9 100755
--- a/calm/hint.py
+++ b/calm/hint.py
@@ -232,7 +232,7 @@ def hint_file_parse(fn, kind, strict=False):
errors.append('%s at line %d' % (error, i))
if (item.count('"') != 0) and (item.count('"') != 2):
- errors.append('embedded quote at line %d' % (i))
+ errors.append('double-quote within double-quotes at line %d (hint files have no escape character)' % (i))
# key:value
match = re.match(r'^([^:\s]+):\s*(.*)$', item, re.DOTALL)