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:
parent
1e08905842
commit
5d39becf8b
@ -223,8 +223,7 @@ hex_fail \\x{hexdigit}{0,1}
|
|||||||
<xc>\* { }
|
<xc>\* { }
|
||||||
|
|
||||||
<xc><<EOF>> {
|
<xc><<EOF>> {
|
||||||
jsonpath_yyerror(
|
jsonpath_yyerror(NULL, escontext,
|
||||||
NULL, escontext,
|
|
||||||
"unexpected end of comment");
|
"unexpected end of comment");
|
||||||
yyterminate();
|
yyterminate();
|
||||||
}
|
}
|
||||||
@ -314,26 +313,22 @@ hex_fail \\x{hexdigit}{0,1}
|
|||||||
}
|
}
|
||||||
|
|
||||||
{realfail} {
|
{realfail} {
|
||||||
jsonpath_yyerror(
|
jsonpath_yyerror(NULL, escontext,
|
||||||
NULL, escontext,
|
|
||||||
"invalid numeric literal");
|
"invalid numeric literal");
|
||||||
yyterminate();
|
yyterminate();
|
||||||
}
|
}
|
||||||
{decinteger_junk} {
|
{decinteger_junk} {
|
||||||
jsonpath_yyerror(
|
jsonpath_yyerror(NULL, escontext,
|
||||||
NULL, escontext,
|
|
||||||
"trailing junk after numeric literal");
|
"trailing junk after numeric literal");
|
||||||
yyterminate();
|
yyterminate();
|
||||||
}
|
}
|
||||||
{decimal_junk} {
|
{decimal_junk} {
|
||||||
jsonpath_yyerror(
|
jsonpath_yyerror(NULL, escontext,
|
||||||
NULL, escontext,
|
|
||||||
"trailing junk after numeric literal");
|
"trailing junk after numeric literal");
|
||||||
yyterminate();
|
yyterminate();
|
||||||
}
|
}
|
||||||
{real_junk} {
|
{real_junk} {
|
||||||
jsonpath_yyerror(
|
jsonpath_yyerror(NULL, escontext,
|
||||||
NULL, escontext,
|
|
||||||
"trailing junk after numeric literal");
|
"trailing junk after numeric literal");
|
||||||
yyterminate();
|
yyterminate();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user