protect against multiple inclusions, commented text after #endif
This commit is contained in:
parent
da36c2b13f
commit
16e89fea1f
6
h/arch.h
6
h/arch.h
|
@ -3,6 +3,10 @@
|
||||||
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
||||||
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __ARCH_H_INCLUDED
|
||||||
|
#define __ARCH_H_INCLUDED
|
||||||
|
|
||||||
#define ARMAG 0177545
|
#define ARMAG 0177545
|
||||||
#define AALMAG 0177454
|
#define AALMAG 0177454
|
||||||
|
|
||||||
|
@ -17,3 +21,5 @@ struct ar_hdr {
|
||||||
|
|
||||||
#define AR_TOTAL 26
|
#define AR_TOTAL 26
|
||||||
#define AR_SIZE 22
|
#define AR_SIZE 22
|
||||||
|
|
||||||
|
#endif /* __ARCH_H_INCLUDED */
|
||||||
|
|
|
@ -98,7 +98,7 @@ typedef struct { /* splitting coercions */
|
||||||
int c2_repl[MAXSPLIT]; /* replacement instances */
|
int c2_repl[MAXSPLIT]; /* replacement instances */
|
||||||
int c2_codep; /* code index */
|
int c2_codep; /* code index */
|
||||||
} c2_t,*c2_p;
|
} c2_t,*c2_p;
|
||||||
#endif MAXSPLIT
|
#endif /* MAXSPLIT */
|
||||||
|
|
||||||
typedef struct { /* one to one coercions */
|
typedef struct { /* one to one coercions */
|
||||||
int c3_texpno; /* token expression number */
|
int c3_texpno; /* token expression number */
|
||||||
|
|
|
@ -150,7 +150,7 @@ typedef struct { /* splitting coercions */
|
||||||
short c2_repl[MAXSPLIT];/* replacement instances */
|
short c2_repl[MAXSPLIT];/* replacement instances */
|
||||||
short c2_codep; /* code index */
|
short c2_codep; /* code index */
|
||||||
} c2_t,*c2_p;
|
} c2_t,*c2_p;
|
||||||
#endif MAXSPLIT
|
#endif /* MAXSPLIT */
|
||||||
|
|
||||||
typedef struct { /* one to one coercions */
|
typedef struct { /* one to one coercions */
|
||||||
short c3_texpno; /* token expression number */
|
short c3_texpno; /* token expression number */
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
/* $Header$ */
|
||||||
|
/*
|
||||||
|
* (c) copyright 1990 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
||||||
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||||
|
*/
|
||||||
|
|
||||||
/* Modula-2 runtime errors */
|
/* Modula-2 runtime errors */
|
||||||
|
|
||||||
#define M2_TOOLARGE 64 /* stack of process too large */
|
#define M2_TOOLARGE 64 /* stack of process too large */
|
||||||
|
|
7
h/out.h
7
h/out.h
|
@ -3,12 +3,15 @@
|
||||||
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||||
*/
|
*/
|
||||||
/* $Header$ */
|
/* $Header$ */
|
||||||
|
|
||||||
|
#ifndef __OUT_H_INCLUDED
|
||||||
|
#define __OUT_H_INCLUDED
|
||||||
/*
|
/*
|
||||||
* output format for ACK assemblers
|
* output format for ACK assemblers
|
||||||
*/
|
*/
|
||||||
#ifndef ushort
|
#ifndef ushort
|
||||||
#define ushort unsigned short
|
#define ushort unsigned short
|
||||||
#endif ushort
|
#endif /* ushort */
|
||||||
|
|
||||||
struct outhead {
|
struct outhead {
|
||||||
ushort oh_magic; /* magic number */
|
ushort oh_magic; /* magic number */
|
||||||
|
@ -119,3 +122,5 @@ struct outname {
|
||||||
#define OFF_RELO(x) (OFF_EMIT(x) + (x).oh_nemit)
|
#define OFF_RELO(x) (OFF_EMIT(x) + (x).oh_nemit)
|
||||||
#define OFF_NAME(x) (OFF_RELO(x) + ((long)(x).oh_nrelo * SZ_RELO))
|
#define OFF_NAME(x) (OFF_RELO(x) + ((long)(x).oh_nrelo * SZ_RELO))
|
||||||
#define OFF_CHAR(x) (OFF_NAME(x) + ((long)(x).oh_nname * SZ_NAME))
|
#define OFF_CHAR(x) (OFF_NAME(x) + ((long)(x).oh_nname * SZ_NAME))
|
||||||
|
|
||||||
|
#endif /* __OUT_H_INCLUDED */
|
||||||
|
|
|
@ -4,9 +4,12 @@
|
||||||
*/
|
*/
|
||||||
/* $Header$ */
|
/* $Header$ */
|
||||||
|
|
||||||
|
#ifndef __RANLIB_H_INCLUDED
|
||||||
|
#define __RANLIB_H_INCLUDED
|
||||||
|
|
||||||
#ifndef SYMDEF
|
#ifndef SYMDEF
|
||||||
# define SYMDEF "__.SYMDEF"
|
# define SYMDEF "__.SYMDEF"
|
||||||
#endif SYMDEF
|
#endif /* SYMDEF */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Structure of the SYMDEF table of contents for an archive.
|
* Structure of the SYMDEF table of contents for an archive.
|
||||||
|
@ -27,3 +30,5 @@ struct ranlib {
|
||||||
|
|
||||||
#define SZ_RAN 8
|
#define SZ_RAN 8
|
||||||
#define SF_RAN "44"
|
#define SF_RAN "44"
|
||||||
|
|
||||||
|
#endif /* __RANLIB_H_INCLUDED */
|
||||||
|
|
4
h/stb.h
4
h/stb.h
|
@ -1,4 +1,8 @@
|
||||||
/* $Header$ */
|
/* $Header$ */
|
||||||
|
/*
|
||||||
|
* (c) copyright 1990 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
||||||
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||||
|
*/
|
||||||
|
|
||||||
/* debugger symbol table types, as in DBX */
|
/* debugger symbol table types, as in DBX */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue