+2002-04-04 Bruno Haible <bruno@clisp.org>
+
+ * po-lex.h (po_gram_error): Use __VA_ARGS__ + 0 instead of __VA_ARGS__.
+ (po_gram_error_at_line): LIkewise.
+ Fixes syntax error when __VA_ARGS__ is empty.
+ Reported by Trond Eivind Glomsrød <teg@redhat.com>.
+
2002-04-04 Bruno Haible <bruno@clisp.org>
* msginit.c (find_pot): Add dummy return, to avoid gcc warning.
error_with_progname = false; \
error (0, 0, totalfmt, gram_pos.file_name, \
(unsigned long) gram_pos.line_number, gram_pos_column + 1, \
- __VA_ARGS__); \
+ __VA_ARGS__ + 0); \
error_with_progname = true; \
free (totalfmt); \
if (*fmt == '.') \
do { \
error_with_progname = false; \
error_at_line (0, 0, (pos)->file_name, (pos)->line_number, \
- fmt, __VA_ARGS__); \
+ fmt, __VA_ARGS__ + 0); \
error_with_progname = true; \
if (*fmt == '.') \
--error_message_count; \