diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-05-11 09:35:45 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-05-11 09:36:03 -0700 |
commit | 44092ee9761177660d57237d3334a645e1fab3c1 (patch) | |
tree | 8469493dccda3fe627d1846863e1c2eb1858339e | |
parent | 343f300f5f29c7d9f45b5247f89e353f0aa5e2d5 (diff) | |
download | gnulib-44092ee9761177660d57237d3334a645e1fab3c1.tar.gz |
parse-datetime: remove Emacs cruft
* lib/parse-datetime.y: Remove an ‘ifdef emacs’. Emacs has never
used this module. The module is derived from code taken from
Emacs, but that code was removed from Emacs in the 1990s.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/parse-datetime.y | 10 |
2 files changed, 7 insertions, 10 deletions
@@ -1,3 +1,10 @@ +2022-05-11 Paul Eggert <eggert@cs.ucla.edu> + + parse-datetime: remove Emacs cruft + * lib/parse-datetime.y: Remove an ‘ifdef emacs’. Emacs has never + used this module. The module is derived from code taken from + Emacs, but that code was removed from Emacs in the 1990s. + 2022-05-11 Bruno Haible <bruno@clisp.org> alloca: Remove old code for Emacs, unused since 2009. diff --git a/lib/parse-datetime.y b/lib/parse-datetime.y index 9fc14c9d46..7220d05dd7 100644 --- a/lib/parse-datetime.y +++ b/lib/parse-datetime.y @@ -52,16 +52,6 @@ #define YYMAXDEPTH 20 #define YYINITDEPTH YYMAXDEPTH -/* Since the code of parse-datetime.y is not included in the Emacs executable - itself, there is no need to #define static in this file. Even if - the code were included in the Emacs executable, it probably - wouldn't do any harm to #undef it here; this will only cause - problems if we try to write to a static variable, which I don't - think this code needs to do. */ -#ifdef emacs -# undef static -#endif - #include <inttypes.h> #include <c-ctype.h> #include <stdarg.h> |