Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan2024-04-04 16:41:55 +0000
committerAndrew Dunstan2024-04-04 16:41:55 +0000
commit88620824c2a62376e224c4b595b9fe69fb858978 (patch)
tree905c12fb21fc15cb998a01570d4b886ea3e4316a /src/common/jsonapi.c
parent1b00fe30a67774e55c5fc776096a3c96f1a147d2 (diff)
Tidy up after incremental JSON parser patch
Remove junk left over from non-vpath builds. Try to remedy gettext error on some platforms.
Diffstat (limited to 'src/common/jsonapi.c')
-rw-r--r--src/common/jsonapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/jsonapi.c b/src/common/jsonapi.c
index 0bc3e426b20..5f947dd6182 100644
--- a/src/common/jsonapi.c
+++ b/src/common/jsonapi.c
@@ -2112,9 +2112,9 @@ json_errdetail(JsonParseErrorType error, JsonLexContext *lex)
break;
case JSON_INVALID_LEXER_TYPE:
if (lex->incremental)
- return (_("Recursive descent parser cannot use incremental lexer"));
+ return _("Recursive descent parser cannot use incremental lexer");
else
- return (_("Incremental parser requires incremental lexer"));
+ return _("Incremental parser requires incremental lexer");
case JSON_NESTING_TOO_DEEP:
return (_("JSON nested too deep, maximum permitted depth is 6400"));
case JSON_ESCAPING_INVALID: