1987-03-10 11:49:39 +00:00
|
|
|
/* $Header$ */
|
1987-03-09 19:15:41 +00:00
|
|
|
/*
|
|
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
|
|
*/
|
1985-04-12 16:56:43 +00:00
|
|
|
/* @(#)comm3.c 1.1 */
|
|
|
|
/*
|
|
|
|
* storage allocation for variables
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "comm0.h"
|
|
|
|
|
|
|
|
#define extern /* empty, to force storage allocation */
|
|
|
|
|
|
|
|
#include "comm1.h"
|
|
|
|
|
1986-12-01 15:41:29 +00:00
|
|
|
#undef extern
|
|
|
|
|
1985-04-12 16:56:43 +00:00
|
|
|
struct outhead outhead = {
|
|
|
|
O_MAGIC, O_STAMP, 0
|
|
|
|
};
|
|
|
|
|
|
|
|
#include "y.tab.h"
|
|
|
|
|
|
|
|
item_t keytab[] = {
|
|
|
|
0, EXTERN, 0, ".define",
|
|
|
|
0, EXTERN, 0, ".extern",
|
|
|
|
0, DOT, 0, ".",
|
|
|
|
0, DATA, 1, ".data1",
|
|
|
|
0, DATA, 2, ".data2",
|
|
|
|
0, DATA, 4, ".data4",
|
|
|
|
0, ASCII, 0, ".ascii",
|
|
|
|
0, ASCII, 1, ".asciz",
|
|
|
|
0, ALIGN, 0, ".align",
|
|
|
|
0, ASSERT, 0, ".assert",
|
|
|
|
0, SPACE, 0, ".space",
|
|
|
|
0, COMMON, 0, ".comm",
|
|
|
|
0, SECTION, 0, ".sect",
|
|
|
|
0, BASE, 0, ".base",
|
|
|
|
0, SYMB, 0, ".symb",
|
|
|
|
0, LINE, 0, ".line",
|
|
|
|
0, FILe, 0, ".file",
|
|
|
|
#ifdef LISTING
|
|
|
|
0, LIST, 0, ".nolist",
|
|
|
|
0, LIST, 1, ".list",
|
|
|
|
#endif
|
|
|
|
#include "mach3.c"
|
|
|
|
0, 0, 0, 0
|
|
|
|
};
|