Gunter's fix to avoid the notorious YYSTACK_USE_ALLOCA warning we get on
several platforms/compilers/yacc versions.
This commit is contained in:
Родитель
38dc548a87
Коммит
44d9a8ba4e
|
@ -26,6 +26,11 @@
|
||||||
#define YYDEBUG 0
|
#define YYDEBUG 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef YYSTACK_USE_ALLOCA
|
||||||
|
/* to satisfy gcc -Wundef, we set this to 0 */
|
||||||
|
#define YYSTACK_USE_ALLOCA 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Since the code of getdate.y is not included in the Emacs executable
|
/* Since the code of getdate.y is not included in the Emacs executable
|
||||||
itself, there is no need to #define static in this file. Even if
|
itself, there is no need to #define static in this file. Even if
|
||||||
the code were included in the Emacs executable, it probably
|
the code were included in the Emacs executable, it probably
|
||||||
|
|
Загрузка…
Ссылка в новой задаче