mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
* src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2000-12-19 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
|
||||
* src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
|
||||
|
||||
2000-12-19 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* src/files.c (open_files): Yipee! We no longer need all the code
|
||||
|
||||
22
src/files.c
22
src/files.c
@@ -20,25 +20,6 @@
|
||||
|
||||
|
||||
#include "system.h"
|
||||
|
||||
#if defined (VMS) & !defined (__VMS_POSIX)
|
||||
# ifndef BISON_SIMPLE
|
||||
# define BISON_SIMPLE "GNU_BISON:[000000]BISON.SIMPLE"
|
||||
# endif
|
||||
# ifndef BISON_HAIRY
|
||||
# define BISON_HARIRY "GNU_BISON:[000000]BISON.HAIRY"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined (_MSC_VER)
|
||||
# ifndef BISON_SIMPLE
|
||||
# define BISON_SIMPLE "c:/usr/local/lib/bison.simple"
|
||||
# endif
|
||||
# ifndef BISON_HAIRY
|
||||
# define BISON_HAIRY "c:/usr/local/lib/bison.hairy"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "getargs.h"
|
||||
#include "files.h"
|
||||
#include "xalloc.h"
|
||||
@@ -181,9 +162,6 @@ void
|
||||
open_files (void)
|
||||
{
|
||||
char *name_base;
|
||||
#ifdef MSDOS
|
||||
register char *cp;
|
||||
#endif
|
||||
int base_length;
|
||||
int short_base_length;
|
||||
|
||||
|
||||
18
src/system.h
18
src/system.h
@@ -219,3 +219,21 @@ do { \
|
||||
# define EXT_GUARD_C ".guard.c"
|
||||
# endif /* ! MSDOS */
|
||||
#endif /* ! VMS */
|
||||
|
||||
#if defined (VMS) & !defined (__VMS_POSIX)
|
||||
# ifndef BISON_SIMPLE
|
||||
# define BISON_SIMPLE "GNU_BISON:[000000]BISON.SIMPLE"
|
||||
# endif
|
||||
# ifndef BISON_HAIRY
|
||||
# define BISON_HARIRY "GNU_BISON:[000000]BISON.HAIRY"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined (_MSC_VER)
|
||||
# ifndef BISON_SIMPLE
|
||||
# define BISON_SIMPLE "c:/usr/local/lib/bison.simple"
|
||||
# endif
|
||||
# ifndef BISON_HAIRY
|
||||
# define BISON_HAIRY "c:/usr/local/lib/bison.hairy"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user