From: Daiki Ueno Date: Tue, 9 Dec 2014 03:31:36 +0000 (+0900) Subject: desktop: Minor cleanup of the last commit X-Git-Tag: v0.19.4~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05db9dc6bbdcbda95ea2979cd5925c3bcbc49d88;p=thirdparty%2Fgettext.git desktop: Minor cleanup of the last commit * read-desktop.c (desktop_lex): Undef the APPEND macro before defining. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 53768f85c..e90c291fb 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,8 @@ +2014-12-09 Daiki Ueno + + * read-desktop.c (desktop_lex): Undef the APPEND macro before + defining. + 2014-12-09 Daiki Ueno desktop: Simplify the parsing logic diff --git a/gettext-tools/src/read-desktop.c b/gettext-tools/src/read-desktop.c index 37c557a80..b03efe0fc 100644 --- a/gettext-tools/src/read-desktop.c +++ b/gettext-tools/src/read-desktop.c @@ -218,6 +218,7 @@ desktop_lex (token_ty *tp) static size_t bufmax; size_t bufpos; +#undef APPEND #define APPEND(c) \ do \ { \