mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Remove %error-verbose directive from jsonpath parser
None of the other bison parsers contains this directive, and it gives rise to some unfortunate and impenetrable messages, so just remove it. Backpatch to release 12, where it was introduced. Per gripe from Erik Rijkers Discussion: https://postgr.es/m/ba069ce2-a98f-dc70-dc17-2ccf2a9bf7c7@xs4all.nl
This commit is contained in:
@ -74,7 +74,6 @@ static JsonPathParseItem *makeItemLikeRegex(JsonPathParseItem *expr,
|
||||
%pure-parser
|
||||
%expect 0
|
||||
%name-prefix="jsonpath_yy"
|
||||
%error-verbose
|
||||
%parse-param {JsonPathParseResult **result}
|
||||
|
||||
%union
|
||||
|
Reference in New Issue
Block a user