@@ -153,7 +153,7 @@ typedef struct JsonValueListIterator
153
153
} JsonValueListIterator ;
154
154
155
155
/* strict/lax flags is decomposed into four [un]wrap/error flags */
156
- #define jspStrictAbsenseOfErrors (cxt ) (!(cxt)->laxMode)
156
+ #define jspStrictAbsenceOfErrors (cxt ) (!(cxt)->laxMode)
157
157
#define jspAutoUnwrap (cxt ) ((cxt)->laxMode)
158
158
#define jspAutoWrap (cxt ) ((cxt)->laxMode)
159
159
#define jspIgnoreStructuralErrors (cxt ) ((cxt)->ignoreStructuralErrors)
@@ -570,7 +570,7 @@ executeJsonPath(JsonPath *path, Jsonb *vars, Jsonb *json, bool throwErrors,
570
570
cxt .throwErrors = throwErrors ;
571
571
cxt .useTz = useTz ;
572
572
573
- if (jspStrictAbsenseOfErrors (& cxt ) && !result )
573
+ if (jspStrictAbsenceOfErrors (& cxt ) && !result )
574
574
{
575
575
/*
576
576
* In strict mode we must get a complete list of values to check that
@@ -1318,7 +1318,7 @@ executeBoolItem(JsonPathExecContext *cxt, JsonPathItem *jsp,
1318
1318
case jpiExists :
1319
1319
jspGetArg (jsp , & larg );
1320
1320
1321
- if (jspStrictAbsenseOfErrors (cxt ))
1321
+ if (jspStrictAbsenceOfErrors (cxt ))
1322
1322
{
1323
1323
/*
1324
1324
* In strict mode we must get a complete list of values to
@@ -1516,14 +1516,14 @@ executePredicate(JsonPathExecContext *cxt, JsonPathItem *pred,
1516
1516
1517
1517
if (res == jpbUnknown )
1518
1518
{
1519
- if (jspStrictAbsenseOfErrors (cxt ))
1519
+ if (jspStrictAbsenceOfErrors (cxt ))
1520
1520
return jpbUnknown ;
1521
1521
1522
1522
error = true;
1523
1523
}
1524
1524
else if (res == jpbTrue )
1525
1525
{
1526
- if (!jspStrictAbsenseOfErrors (cxt ))
1526
+ if (!jspStrictAbsenceOfErrors (cxt ))
1527
1527
return jpbTrue ;
1528
1528
1529
1529
found = true;
0 commit comments