]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
desktop: Minor cleanup of the last commit
authorDaiki Ueno <ueno@gnu.org>
Tue, 9 Dec 2014 03:31:36 +0000 (12:31 +0900)
committerDaiki Ueno <ueno@gnu.org>
Tue, 9 Dec 2014 03:31:36 +0000 (12:31 +0900)
* read-desktop.c (desktop_lex): Undef the APPEND macro before defining.

gettext-tools/src/ChangeLog
gettext-tools/src/read-desktop.c

index 53768f85c3ffa542d81cc1fb7adc62cad561f214..e90c291fb256c4f895215caed756878e2d221c5f 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-09  Daiki Ueno  <ueno@gnu.org>
+
+       * read-desktop.c (desktop_lex): Undef the APPEND macro before
+       defining.
+
 2014-12-09  Daiki Ueno  <ueno@gnu.org>
 
        desktop: Simplify the parsing logic
index 37c557a80b8ee7fe62d7872eaecf46fe35ec63c0..b03efe0fcbfaf6493d648884b3af36a4fc2f9d14 100644 (file)
@@ -218,6 +218,7 @@ desktop_lex (token_ty *tp)
   static size_t bufmax;
   size_t bufpos;
 
+#undef APPEND
 #define APPEND(c)                               \
   do                                            \
     {                                           \