ack/lang/cem/cemcom.ansi/estack.str
carl 750a6bc684 Better ANSI C compatibility and portability:
+ Addition of function prototypes and include files.
+ Change function definitions to ANSI C style.
+ Initial support for CMake
+ Scripts to generate compiler header is now sed based.
2019-02-19 00:54:23 +08:00

26 lines
549 B
Plaintext

/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
#ifndef ESTACK_H_
#define ESTACK_H_
/* $Id$ */
/* 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;
short s_nested;
};
/* ALLOCDEF "e_stack" 5 */
#define bytes_upto_here s_cnt1
#define last_offset s_cnt2
#define elem_count s_cnt1
#define nelem s_cnt2
#endif