* src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...

* src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
This commit is contained in:
Akim Demaille
2000-12-19 12:30:59 +00:00
parent 358c15b71e
commit 55b9634155
3 changed files with 23 additions and 22 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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