mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 09:43:03 +00:00
* src/bison.s1: Properly indent the `alloca' CPP section.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2000-03-16 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* src/bison.s1: Properly indent the `alloca' CPP section.
|
||||||
|
|
||||||
2000-03-16 Akim Demaille <akim@epita.fr>
|
2000-03-16 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
Do not hard code values of directories in `configure.in'.
|
Do not hard code values of directories in `configure.in'.
|
||||||
|
|||||||
18
src/bison.s1
18
src/bison.s1
@@ -43,24 +43,26 @@
|
|||||||
# include <alloca.h>
|
# include <alloca.h>
|
||||||
# else /* not sparc */
|
# else /* not sparc */
|
||||||
/* We think this test detects Watcom and Microsoft C. */
|
/* We think this test detects Watcom and Microsoft C. */
|
||||||
/* This used to test MSDOS, but that is a bad idea
|
/* This used to test MSDOS, but that is a bad idea since that
|
||||||
since that symbol is in the user namespace. */
|
symbol is in the user namespace. */
|
||||||
# if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
|
# if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
|
||||||
#if 0 /* No need for malloc.h, which pollutes the namespace;
|
# if 0
|
||||||
instead, just don't use alloca. */
|
/* No need for malloc.h, which pollutes the namespace; instead,
|
||||||
|
just don't use alloca. */
|
||||||
# include <malloc.h>
|
# include <malloc.h>
|
||||||
# endif
|
# endif
|
||||||
# else /* not MSDOS, or __TURBOC__ */
|
# else /* not MSDOS, or __TURBOC__ */
|
||||||
# if defined(_AIX)
|
# if defined(_AIX)
|
||||||
/* I don't know what this was needed for, but it pollutes the namespace.
|
/* I don't know what this was needed for, but it pollutes the
|
||||||
So I turned it off. rms, 2 May 1997. */
|
namespace. So I turned it off. rms, 2 May 1997. */
|
||||||
/* #include <malloc.h> */
|
/* #include <malloc.h> */
|
||||||
#pragma alloca
|
#pragma alloca
|
||||||
# define YYSTACK_USE_ALLOCA
|
# define YYSTACK_USE_ALLOCA
|
||||||
# else /* not MSDOS, or __TURBOC__, or _AIX */
|
# else /* not MSDOS, or __TURBOC__, or _AIX */
|
||||||
# if 0
|
# if 0
|
||||||
#ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up,
|
/* haible@ilog.fr says this works for HPUX 9.05 and up, and on
|
||||||
and on HPUX 10. Eventually we can turn this on. */
|
HPUX 10. Eventually we can turn this on. */
|
||||||
|
# ifdef __hpux
|
||||||
# define YYSTACK_USE_ALLOCA
|
# define YYSTACK_USE_ALLOCA
|
||||||
# define alloca __builtin_alloca
|
# define alloca __builtin_alloca
|
||||||
# endif /* __hpux */
|
# endif /* __hpux */
|
||||||
|
|||||||
@@ -43,24 +43,26 @@
|
|||||||
# include <alloca.h>
|
# include <alloca.h>
|
||||||
# else /* not sparc */
|
# else /* not sparc */
|
||||||
/* We think this test detects Watcom and Microsoft C. */
|
/* We think this test detects Watcom and Microsoft C. */
|
||||||
/* This used to test MSDOS, but that is a bad idea
|
/* This used to test MSDOS, but that is a bad idea since that
|
||||||
since that symbol is in the user namespace. */
|
symbol is in the user namespace. */
|
||||||
# if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
|
# if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
|
||||||
#if 0 /* No need for malloc.h, which pollutes the namespace;
|
# if 0
|
||||||
instead, just don't use alloca. */
|
/* No need for malloc.h, which pollutes the namespace; instead,
|
||||||
|
just don't use alloca. */
|
||||||
# include <malloc.h>
|
# include <malloc.h>
|
||||||
# endif
|
# endif
|
||||||
# else /* not MSDOS, or __TURBOC__ */
|
# else /* not MSDOS, or __TURBOC__ */
|
||||||
# if defined(_AIX)
|
# if defined(_AIX)
|
||||||
/* I don't know what this was needed for, but it pollutes the namespace.
|
/* I don't know what this was needed for, but it pollutes the
|
||||||
So I turned it off. rms, 2 May 1997. */
|
namespace. So I turned it off. rms, 2 May 1997. */
|
||||||
/* #include <malloc.h> */
|
/* #include <malloc.h> */
|
||||||
#pragma alloca
|
#pragma alloca
|
||||||
# define YYSTACK_USE_ALLOCA
|
# define YYSTACK_USE_ALLOCA
|
||||||
# else /* not MSDOS, or __TURBOC__, or _AIX */
|
# else /* not MSDOS, or __TURBOC__, or _AIX */
|
||||||
# if 0
|
# if 0
|
||||||
#ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up,
|
/* haible@ilog.fr says this works for HPUX 9.05 and up, and on
|
||||||
and on HPUX 10. Eventually we can turn this on. */
|
HPUX 10. Eventually we can turn this on. */
|
||||||
|
# ifdef __hpux
|
||||||
# define YYSTACK_USE_ALLOCA
|
# define YYSTACK_USE_ALLOCA
|
||||||
# define alloca __builtin_alloca
|
# define alloca __builtin_alloca
|
||||||
# endif /* __hpux */
|
# endif /* __hpux */
|
||||||
|
|||||||
Reference in New Issue
Block a user