]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update comments regarding PEP 0263.
authorBruno Haible <bruno@clisp.org>
Wed, 18 Nov 2009 09:05:16 +0000 (10:05 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 18 Nov 2009 09:05:16 +0000 (10:05 +0100)
gettext-tools/src/ChangeLog
gettext-tools/src/x-python.c

index b7444a2241d5c15c1f5160c27c2408aba4f17a4d..d67bdbe36cda9e606da073acf158b9d54ec92453 100644 (file)
@@ -1,3 +1,7 @@
+2009-11-15  Bruno Haible  <bruno@clisp.org>
+
+       * x-python.c: Update comments regarding PEP 0263.
+
 2009-09-05  Bruno Haible  <bruno@clisp.org>
 
        * write-po.c (wrap): Remove unused initialization.
index 50ea136d5fdd23c1159dc42b99cfee77ba837c0b..0b364575d3fe52784400be703058dc92e044f284 100644 (file)
@@ -584,10 +584,12 @@ static int last_non_comment_line;
 /* Recognizing the "coding" comment.
    As specified in PEP 0263, it takes the form
      "coding" [":"|"="] {alphanumeric or "-" or "_" or "*"}*
+   or
+     "set" "fileencoding" "=" {alphanumeric or "-" or "_" or "*"}*
    and is located in a comment in a line that
      - is either the first or second line,
      - is not a continuation line,
-     - contains no other tokens except this comment.  */
+     - in the first form, contains no other tokens except this comment.  */
 
 /* Canonicalized encoding name for the current input file.  */
 static const char *xgettext_current_file_source_encoding;