mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +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:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user