[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master d9e4d93 2/4: Improve error message
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master d9e4d93 2/4: Improve error message |
Date: |
Fri, 11 Nov 2016 22:46:10 +0000 (UTC) |
branch: master
commit d9e4d93b6df9fa42713cca5aa19957f08a9f9336
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Improve error message
old: two many spaces at position 7 at line 7 (at most2 allowed here).
new: too many spaces at position 7 at line 7 (at most 2 allowed here).
^ ^
---
rate_table.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rate_table.cpp b/rate_table.cpp
index dabff52..5f44e3c 100644
--- a/rate_table.cpp
+++ b/rate_table.cpp
@@ -1579,9 +1579,9 @@ double table_impl::parse_single_value
if(num_spaces > text_format::gap_length)
{
fatal_error()
- << "two many spaces"
+ << "too many spaces"
<< location_info(line_num, current - start + 1)
- << " (at most" << text_format::gap_length << " allowed here)"
+ << " (at most " << text_format::gap_length << " allowed here)"
<< std::flush
;
}