Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit820984b

Browse files
committed
Clarify to the translator that yyerror() deals with the translation of
"syntax error", not the literal string. I was previously confused on thismatter, but I have now verified that everything is translated properly.
1 parentb966b51 commit820984b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/parser/scan.l

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Portions Copyright (c) 1994, Regents of the University of California
2525
*
2626
* IDENTIFICATION
27-
* $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.148 2009/01/01 17:23:46 momjian Exp $
27+
* $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.149 2009/03/04 13:02:32 petere Exp $
2828
*
2929
*-------------------------------------------------------------------------
3030
*/
@@ -880,15 +880,15 @@ yyerror(const char *message)
880880
{
881881
ereport(ERROR,
882882
(errcode(ERRCODE_SYNTAX_ERROR),
883-
/* translator: %s is typically "syntax error" */
883+
/* translator: %s is typicallythe translation of"syntax error" */
884884
errmsg("%s at end of input",_(message)),
885885
lexer_errposition()));
886886
}
887887
else
888888
{
889889
ereport(ERROR,
890890
(errcode(ERRCODE_SYNTAX_ERROR),
891-
/* translator: first %s is typically "syntax error" */
891+
/* translator: first %s is typicallythe translation of"syntax error" */
892892
errmsg("%s at or near\"%s\"",_(message), loc),
893893
lexer_errposition()));
894894
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp