home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari FTP
/
ATARI_FTP_0693.zip
/
ATARI_FTP_0693
/
Tex
/
Tex29
/
StTeXsrc.zoo
/
src
/
eqstack.h
< prev
next >
Wrap
C/C++ Source or Header
|
1988-03-13
|
2KB
|
64 lines
/*
* @(#)eqstack.h 2.5 EPA
*
* Copyright 1987,1988 Pat J Monardo
*
* Redistribution of this file is permitted through
* the specifications in the file COPYING.
*
*
*/
global ptr save_ptr;
global mword save_stack[];
global ptr max_save_stack;
global qword cur_level;
global group cur_group;
global ptr cur_boundary;
#define save_type(S) save_stack[S].hh.hh2.b0
#define save_level(S) save_stack[S].hh.hh2.b1
#define save_index(S) save_stack[S].hh.hh2.rh
#define RESTORE_OLD_VALUE 0
#define RESTORE_ZERO 1
#define INSERT_TOKEN 2
#define LEVEL_BOUNDARY 3
#define BOTTOM_LEVEL 0
#define SIMPLE_GROUP 1
#define HBOX_GROUP 2
#define ADJUSTED_HBOX_GROUP 3
#define VBOX_GROUP 4
#define VTOP_GROUP 5
#define ALIGN_GROUP 6
#define NO_ALIGN_GROUP 7
#define OUTPUT_GROUP 8
#define MATH_GROUP 9
#define DISC_GROUP 10
#define INSERT_GROUP 11
#define VCENTER_GROUP 12
#define MATH_CHOICE_GROUP 13
#define SEMI_SIMPLE_GROUP 14
#define MATH_SHIFT_GROUP 15
#define MATH_LEFT_GROUP 16
#define MAX_GROUP_CODE 16
#define saved(I) save_stack[save_ptr + I].i
int new_save_level();
int eq_destroy();
int eq_save();
int eq_define();
int eq_word_define();
int geq_define();
int geq_word_define();
int unsave();
int offsave();
#ifdef STAT
int restore_trace();
#endif