1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-05 09:19:17 +03:00

Small indenting fixes in jsonpath_scan.l

Some lines were indented by an inconsistent number of spaces.  While
we're here, also fix some code that used the newline after left
parenthesis style, which is obsolete.
This commit is contained in:
Peter Eisentraut 2024-11-29 11:33:21 +01:00
parent 1e08905842
commit 5d39becf8b

View File

@ -223,8 +223,7 @@ hex_fail \\x{hexdigit}{0,1}
<xc>\* { }
<xc><<EOF>> {
jsonpath_yyerror(
NULL, escontext,
jsonpath_yyerror(NULL, escontext,
"unexpected end of comment");
yyterminate();
}
@ -314,26 +313,22 @@ hex_fail \\x{hexdigit}{0,1}
}
{realfail} {
jsonpath_yyerror(
NULL, escontext,
jsonpath_yyerror(NULL, escontext,
"invalid numeric literal");
yyterminate();
}
{decinteger_junk} {
jsonpath_yyerror(
NULL, escontext,
jsonpath_yyerror(NULL, escontext,
"trailing junk after numeric literal");
yyterminate();
}
{decimal_junk} {
jsonpath_yyerror(
NULL, escontext,
jsonpath_yyerror(NULL, escontext,
"trailing junk after numeric literal");
yyterminate();
}
{real_junk} {
jsonpath_yyerror(
NULL, escontext,
jsonpath_yyerror(NULL, escontext,
"trailing junk after numeric literal");
yyterminate();
}