1989-02-07 11:04:05 +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".
|
|
|
|
*/
|
2019-02-18 16:42:15 +00:00
|
|
|
#ifndef ESTACK_H_
|
|
|
|
#define ESTACK_H_
|
|
|
|
|
1994-06-27 08:03:14 +00:00
|
|
|
/* $Id$ */
|
1989-02-07 11:04:05 +00:00
|
|
|
/* EXPRESSION STACK */
|
|
|
|
/* Used for global initializations */
|
|
|
|
struct e_stack {
|
|
|
|
struct e_stack *next;
|
|
|
|
arith s_cnt1, s_cnt2;
|
|
|
|
struct sdef *s_def;
|
|
|
|
struct type **s_tpp;
|
1989-10-19 19:29:39 +00:00
|
|
|
short s_nested;
|
1989-02-07 11:04:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* ALLOCDEF "e_stack" 5 */
|
|
|
|
|
|
|
|
#define bytes_upto_here s_cnt1
|
|
|
|
#define last_offset s_cnt2
|
|
|
|
#define elem_count s_cnt1
|
|
|
|
#define nelem s_cnt2
|
2019-02-18 16:42:15 +00:00
|
|
|
|
|
|
|
#endif
|