Browse Source

Fixed error message in json::decode()

Tatsuhiro Tsujikawa 14 năm trước cách đây
mục cha
commit
bc7ac15d7e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/json.cc

+ 1 - 1
src/json.cc

@@ -454,7 +454,7 @@ decode
     return decodeNull(first, last);
   } else {
     throw DL_ABORT_EX2("JSON decoding failed:"
-                       " Unexpected EOF in term context.",
+                       " Unexpected character in term context.",
                        error_code::JSON_PARSE_ERROR);
   }
 }